HSL(24, 9%, 77%)
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(24,9%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(24, 9%, 77%) | color: hsl(24, 9%, 77%) | |
| HEX | #CAC3BF | color: #CAC3BF | |
| RGB | rgb(202, 195, 191) | color: rgb(202, 195, 191) | |
| CMYK | cmyk(0%, 3%, 5%, 21%) | — | |
| HSV | hsv(22, 5%, 79%) | — | |
| HWB | hwb(22 75% 21%) | color: hwb(22 75% 21%) | |
| OKLCH | oklch(0.8217 0.0096 52.07) | color: oklch(0.8217 0.0096 52.07) | |
| Lab | lab(79.24 1.73 2.87) | color: lab(79.24 1.73 2.87) | |
| LCH | lch(79.24 3.35 58.92) | color: lch(79.24 3.35 58.92) |
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)
#C7C7C0 — rgb(199, 199, 192)
Deuteranopia (Green-blind)
#C7C8C0 — rgb(199, 200, 192)
Tritanopia (Blue-blind)
#CAC1C1 — rgb(202, 193, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(24, 9%, 77%);
text
color: hsl(24, 9%, 77%);
border
border: 2px solid hsl(24, 9%, 77%);
gradient light
background: linear-gradient(to right, hsl(24, 9%, 97%), hsl(24, 9%, 77%));
gradient dark
background: linear-gradient(to right, hsl(24, 9%, 77%), hsl(24, 9%, 57%))
hex
background-color: #CAC3BF;
tailwind
bg-[hsl(24,9%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(24, 9%, 77%, 0.4);
css variable
--color-primary: hsl(24, 9%, 77%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(24, 9%, 77%)?
HEX: #CAC3BF | RGB: rgb(202, 195, 191) | CMYK: 0%, 3%, 5%, 21% | HSV: 22°, 5%, 79%. Copy any format from the conversion table above.
What colors go well with #CAC3BF?
The complementary color is HSL(204, 9%, 77%). For a triadic harmony, use hues 24°, 144°, and 264°. For analogous combinations, try hues 354° and 54°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(24, 9%, 77%) in CSS?
As HSL: color: hsl(24, 9%, 77%); — As HEX: color: #CAC3BF; — As RGB: color: rgb(202, 195, 191); — Tailwind CSS: bg-[hsl(24,9%,77%)] — CSS variable: --color-primary: hsl(24, 9%, 77%);