HSL(126, 5%, 81%)
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(126,5%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 5%, 81%) | color: hsl(126, 5%, 81%) | |
| HEX | #CCD1CD | color: #CCD1CD | |
| RGB | rgb(204, 209, 205) | color: rgb(204, 209, 205) | |
| CMYK | cmyk(2%, 0%, 2%, 18%) | — | |
| HSV | hsv(132, 2%, 82%) | — | |
| HWB | hwb(132 80% 18%) | color: hwb(132 80% 18%) | |
| OKLCH | oklch(0.8557 0.0077 151.87) | color: oklch(0.8557 0.0077 151.87) | |
| Lab | lab(83.36 -2.44 1.38) | color: lab(83.36 -2.44 1.38) | |
| LCH | lch(83.36 2.8 150.51) | color: lch(83.36 2.8 150.51) |
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)
#CECECE — rgb(206, 206, 206)
Deuteranopia (Green-blind)
#CECECE — rgb(206, 206, 206)
Tritanopia (Blue-blind)
#CCCFCF — rgb(204, 207, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 5%, 81%);
text
color: hsl(126, 5%, 81%);
border
border: 2px solid hsl(126, 5%, 81%);
gradient light
background: linear-gradient(to right, hsl(126, 5%, 100%), hsl(126, 5%, 81%));
gradient dark
background: linear-gradient(to right, hsl(126, 5%, 81%), hsl(126, 5%, 61%))
hex
background-color: #CCD1CD;
tailwind
bg-[hsl(126,5%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 5%, 81%, 0.4);
css variable
--color-primary: hsl(126, 5%, 81%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(126, 5%, 81%)?
HEX: #CCD1CD | RGB: rgb(204, 209, 205) | CMYK: 2%, 0%, 2%, 18% | HSV: 132°, 2%, 82%. Copy any format from the conversion table above.
What colors go well with #CCD1CD?
The complementary color is HSL(306, 5%, 81%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 5%, 81%) in CSS?
As HSL: color: hsl(126, 5%, 81%); — As HEX: color: #CCD1CD; — As RGB: color: rgb(204, 209, 205); — Tailwind CSS: bg-[hsl(126,5%,81%)] — CSS variable: --color-primary: hsl(126, 5%, 81%);