HSL(24, 9%, 85%)
Grayish White — White color
Adjust Color
Color Information
Color Name
Grayish White
Color Family
White
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(24,9%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(24, 9%, 85%) | color: hsl(24, 9%, 85%) | |
| HEX | #DCD8D5 | color: #DCD8D5 | |
| RGB | rgb(220, 216, 213) | color: rgb(220, 216, 213) | |
| CMYK | cmyk(0%, 2%, 3%, 14%) | — | |
| HSV | hsv(26, 3%, 86%) | — | |
| HWB | hwb(26 83% 14%) | color: hwb(26 83% 14%) | |
| OKLCH | oklch(0.8845 0.006 59.64) | color: oklch(0.8845 0.006 59.64) | |
| Lab | lab(86.57 0.83 1.96) | color: lab(86.57 0.83 1.96) | |
| LCH | lch(86.57 2.13 67.05) | color: lch(86.57 2.13 67.05) |
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)
#DADAD6 — rgb(218, 218, 214)
Deuteranopia (Green-blind)
#DBDBD6 — rgb(219, 219, 214)
Tritanopia (Blue-blind)
#DCD6D6 — rgb(220, 214, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(24, 9%, 85%);
text
color: hsl(24, 9%, 85%);
border
border: 2px solid hsl(24, 9%, 85%);
gradient light
background: linear-gradient(to right, hsl(24, 9%, 100%), hsl(24, 9%, 85%));
gradient dark
background: linear-gradient(to right, hsl(24, 9%, 85%), hsl(24, 9%, 65%))
hex
background-color: #DCD8D5;
tailwind
bg-[hsl(24,9%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(24, 9%, 85%, 0.4);
css variable
--color-primary: hsl(24, 9%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(24, 9%, 85%)?
HEX: #DCD8D5 | RGB: rgb(220, 216, 213) | CMYK: 0%, 2%, 3%, 14% | HSV: 26°, 3%, 86%. Copy any format from the conversion table above.
What colors go well with #DCD8D5?
The complementary color is HSL(204, 9%, 85%). 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%, 85%) in CSS?
As HSL: color: hsl(24, 9%, 85%); — As HEX: color: #DCD8D5; — As RGB: color: rgb(220, 216, 213); — Tailwind CSS: bg-[hsl(24,9%,85%)] — CSS variable: --color-primary: hsl(24, 9%, 85%);