HSL(271, 7%, 80%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(271,7%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 7%, 80%) | color: hsl(271, 7%, 80%) | |
| HEX | #CCC8D0 | color: #CCC8D0 | |
| RGB | rgb(204, 200, 208) | color: rgb(204, 200, 208) | |
| CMYK | cmyk(2%, 4%, 0%, 18%) | — | |
| HSV | hsv(270, 4%, 82%) | — | |
| HWB | hwb(270 79% 18%) | color: hwb(270 79% 18%) | |
| OKLCH | oklch(0.8384 0.0118 308.3) | color: oklch(0.8384 0.0118 308.3) | |
| Lab | lab(81.13 2.85 -3.49) | color: lab(81.13 2.85 -3.49) | |
| LCH | lch(81.13 4.51 309.24) | color: lch(81.13 4.51 309.24) |
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)
#CACACE — rgb(202, 202, 206)
Deuteranopia (Green-blind)
#CBCBCE — rgb(203, 203, 206)
Tritanopia (Blue-blind)
#CCCDCC — rgb(204, 205, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 7%, 80%);
text
color: hsl(271, 7%, 80%);
border
border: 2px solid hsl(271, 7%, 80%);
gradient light
background: linear-gradient(to right, hsl(271, 7%, 100%), hsl(271, 7%, 80%));
gradient dark
background: linear-gradient(to right, hsl(271, 7%, 80%), hsl(271, 7%, 60%))
hex
background-color: #CCC8D0;
tailwind
bg-[hsl(271,7%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 7%, 80%, 0.4);
css variable
--color-primary: hsl(271, 7%, 80%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(271, 7%, 80%)?
HEX: #CCC8D0 | RGB: rgb(204, 200, 208) | CMYK: 2%, 4%, 0%, 18% | HSV: 270°, 4%, 82%. Copy any format from the conversion table above.
What colors go well with #CCC8D0?
The complementary color is HSL(91, 7%, 80%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 7%, 80%) in CSS?
As HSL: color: hsl(271, 7%, 80%); — As HEX: color: #CCC8D0; — As RGB: color: rgb(204, 200, 208); — Tailwind CSS: bg-[hsl(271,7%,80%)] — CSS variable: --color-primary: hsl(271, 7%, 80%);