HSL(166, 8%, 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(166,8%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 8%, 85%) | color: hsl(166, 8%, 85%) | |
| HEX | #D6DCDA | color: #D6DCDA | |
| RGB | rgb(214, 220, 218) | color: rgb(214, 220, 218) | |
| CMYK | cmyk(3%, 0%, 1%, 14%) | — | |
| HSV | hsv(160, 3%, 86%) | — | |
| HWB | hwb(160 83% 14%) | color: hwb(160 83% 14%) | |
| OKLCH | oklch(0.8893 0.007 174.36) | color: oklch(0.8893 0.007 174.36) | |
| Lab | lab(87.26 -2.39 0.27) | color: lab(87.26 -2.39 0.27) | |
| LCH | lch(87.26 2.41 173.55) | color: lch(87.26 2.41 173.55) |
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)
#D9D9DA — rgb(217, 217, 218)
Deuteranopia (Green-blind)
#D8D8DB — rgb(216, 216, 219)
Tritanopia (Blue-blind)
#D6DBDB — rgb(214, 219, 219)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 8%, 85%);
text
color: hsl(166, 8%, 85%);
border
border: 2px solid hsl(166, 8%, 85%);
gradient light
background: linear-gradient(to right, hsl(166, 8%, 100%), hsl(166, 8%, 85%));
gradient dark
background: linear-gradient(to right, hsl(166, 8%, 85%), hsl(166, 8%, 65%))
hex
background-color: #D6DCDA;
tailwind
bg-[hsl(166,8%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 8%, 85%, 0.4);
css variable
--color-primary: hsl(166, 8%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(166, 8%, 85%)?
HEX: #D6DCDA | RGB: rgb(214, 220, 218) | CMYK: 3%, 0%, 1%, 14% | HSV: 160°, 3%, 86%. Copy any format from the conversion table above.
What colors go well with #D6DCDA?
The complementary color is HSL(346, 8%, 85%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 8%, 85%) in CSS?
As HSL: color: hsl(166, 8%, 85%); — As HEX: color: #D6DCDA; — As RGB: color: rgb(214, 220, 218); — Tailwind CSS: bg-[hsl(166,8%,85%)] — CSS variable: --color-primary: hsl(166, 8%, 85%);