HSL(271, 12%, 80%)
Grayish Indigo — Indigo color
Adjust Color
Color Information
Color Name
Grayish Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(271,12%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 12%, 80%) | color: hsl(271, 12%, 80%) | |
| HEX | #CCC6D2 | color: #CCC6D2 | |
| RGB | rgb(204, 198, 210) | color: rgb(204, 198, 210) | |
| CMYK | cmyk(3%, 6%, 0%, 18%) | — | |
| HSV | hsv(270, 6%, 82%) | — | |
| HWB | hwb(270 77% 18%) | color: hwb(270 77% 18%) | |
| OKLCH | oklch(0.835 0.0177 308.22) | color: oklch(0.835 0.0177 308.22) | |
| Lab | lab(80.67 4.29 -5.23) | color: lab(80.67 4.29 -5.23) | |
| LCH | lch(80.67 6.76 309.36) | color: lch(80.67 6.76 309.36) |
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)
#C9C9CF — rgb(201, 201, 207)
Deuteranopia (Green-blind)
#CACACE — rgb(202, 202, 206)
Tritanopia (Blue-blind)
#CCCDCC — rgb(204, 205, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 12%, 80%);
text
color: hsl(271, 12%, 80%);
border
border: 2px solid hsl(271, 12%, 80%);
gradient light
background: linear-gradient(to right, hsl(271, 12%, 100%), hsl(271, 12%, 80%));
gradient dark
background: linear-gradient(to right, hsl(271, 12%, 80%), hsl(271, 12%, 60%))
hex
background-color: #CCC6D2;
tailwind
bg-[hsl(271,12%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 12%, 80%, 0.4);
css variable
--color-primary: hsl(271, 12%, 80%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 12%, 80%)?
HEX: #CCC6D2 | RGB: rgb(204, 198, 210) | CMYK: 3%, 6%, 0%, 18% | HSV: 270°, 6%, 82%. Copy any format from the conversion table above.
What colors go well with #CCC6D2?
The complementary color is HSL(91, 12%, 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, 12%, 80%) in CSS?
As HSL: color: hsl(271, 12%, 80%); — As HEX: color: #CCC6D2; — As RGB: color: rgb(204, 198, 210); — Tailwind CSS: bg-[hsl(271,12%,80%)] — CSS variable: --color-primary: hsl(271, 12%, 80%);