HSL(31, 8%, 73%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(31,8%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 8%, 73%) | color: hsl(31, 8%, 73%) | |
| HEX | #C0BAB5 | color: #C0BAB5 | |
| RGB | rgb(192, 186, 181) | color: rgb(192, 186, 181) | |
| CMYK | cmyk(0%, 3%, 6%, 25%) | — | |
| HSV | hsv(27, 6%, 75%) | — | |
| HWB | hwb(27 71% 25%) | color: hwb(27 71% 25%) | |
| OKLCH | oklch(0.7924 0.0098 62.55) | color: oklch(0.7924 0.0098 62.55) | |
| Lab | lab(75.86 1.21 3.28) | color: lab(75.86 1.21 3.28) | |
| LCH | lch(75.86 3.5 69.75) | color: lch(75.86 3.5 69.75) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#BDBDB6 — rgb(189, 189, 182)
Deuteranopia (Green-blind)
#BEBEB7 — rgb(190, 190, 183)
Tritanopia (Blue-blind)
#C0B7B7 — rgb(192, 183, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 8%, 73%);
text
color: hsl(31, 8%, 73%);
border
border: 2px solid hsl(31, 8%, 73%);
gradient light
background: linear-gradient(to right, hsl(31, 8%, 93%), hsl(31, 8%, 73%));
gradient dark
background: linear-gradient(to right, hsl(31, 8%, 73%), hsl(31, 8%, 53%))
hex
background-color: #C0BAB5;
tailwind
bg-[hsl(31,8%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 8%, 73%, 0.4);
css variable
--color-primary: hsl(31, 8%, 73%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(31, 8%, 73%)?
HEX: #C0BAB5 | RGB: rgb(192, 186, 181) | CMYK: 0%, 3%, 6%, 25% | HSV: 27°, 6%, 75%. Copy any format from the conversion table above.
What colors go well with #C0BAB5?
The complementary color is HSL(211, 8%, 73%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 8%, 73%) in CSS?
As HSL: color: hsl(31, 8%, 73%); — As HEX: color: #C0BAB5; — As RGB: color: rgb(192, 186, 181); — Tailwind CSS: bg-[hsl(31,8%,73%)] — CSS variable: --color-primary: hsl(31, 8%, 73%);