HSL(112, 2%, 85%)
Grayish White — White color
Adjust Color
Color Information
Color Name
Grayish White
Color Family
White
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(112,2%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 2%, 85%) | color: hsl(112, 2%, 85%) | |
| HEX | #D8DAD8 | color: #D8DAD8 | |
| RGB | rgb(216, 218, 216) | color: rgb(216, 218, 216) | |
| CMYK | cmyk(1%, 0%, 1%, 15%) | — | |
| HSV | hsv(120, 1%, 85%) | — | |
| HWB | hwb(120 84% 15%) | color: hwb(120 84% 15%) | |
| OKLCH | oklch(0.8862 0.0035 145.55) | color: oklch(0.8862 0.0035 145.55) | |
| Lab | lab(86.85 -1.04 0.74) | color: lab(86.85 -1.04 0.74) | |
| LCH | lch(86.85 1.28 144.57) | color: lch(86.85 1.28 144.57) |
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)
#D9D9D8 — rgb(217, 217, 216)
Deuteranopia (Green-blind)
#D9D9D9 — rgb(217, 217, 217)
Tritanopia (Blue-blind)
#D8D9D9 — rgb(216, 217, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 2%, 85%);
text
color: hsl(112, 2%, 85%);
border
border: 2px solid hsl(112, 2%, 85%);
gradient light
background: linear-gradient(to right, hsl(112, 2%, 100%), hsl(112, 2%, 85%));
gradient dark
background: linear-gradient(to right, hsl(112, 2%, 85%), hsl(112, 2%, 65%))
hex
background-color: #D8DAD8;
tailwind
bg-[hsl(112,2%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 2%, 85%, 0.4);
css variable
--color-primary: hsl(112, 2%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(112, 2%, 85%)?
HEX: #D8DAD8 | RGB: rgb(216, 218, 216) | CMYK: 1%, 0%, 1%, 15% | HSV: 120°, 1%, 85%. Copy any format from the conversion table above.
What colors go well with #D8DAD8?
The complementary color is HSL(292, 2%, 85%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 2%, 85%) in CSS?
As HSL: color: hsl(112, 2%, 85%); — As HEX: color: #D8DAD8; — As RGB: color: rgb(216, 218, 216); — Tailwind CSS: bg-[hsl(112,2%,85%)] — CSS variable: --color-primary: hsl(112, 2%, 85%);