HSL(22, 9%, 78%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(22,9%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 9%, 78%) | color: hsl(22, 9%, 78%) | |
| HEX | #CCC6C2 | color: #CCC6C2 | |
| RGB | rgb(204, 198, 194) | color: rgb(204, 198, 194) | |
| CMYK | cmyk(0%, 3%, 5%, 20%) | — | |
| HSV | hsv(24, 5%, 80%) | — | |
| HWB | hwb(24 76% 20%) | color: hwb(24 76% 20%) | |
| OKLCH | oklch(0.8302 0.0087 56.29) | color: oklch(0.8302 0.0087 56.29) | |
| Lab | lab(80.25 1.37 2.74) | color: lab(80.25 1.37 2.74) | |
| LCH | lch(80.25 3.06 63.43) | color: lch(80.25 3.06 63.43) |
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)
#C9C9C3 — rgb(201, 201, 195)
Deuteranopia (Green-blind)
#CACAC3 — rgb(202, 202, 195)
Tritanopia (Blue-blind)
#CCC4C4 — rgb(204, 196, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 9%, 78%);
text
color: hsl(22, 9%, 78%);
border
border: 2px solid hsl(22, 9%, 78%);
gradient light
background: linear-gradient(to right, hsl(22, 9%, 98%), hsl(22, 9%, 78%));
gradient dark
background: linear-gradient(to right, hsl(22, 9%, 78%), hsl(22, 9%, 58%))
hex
background-color: #CCC6C2;
tailwind
bg-[hsl(22,9%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 9%, 78%, 0.4);
css variable
--color-primary: hsl(22, 9%, 78%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 9%, 78%)?
HEX: #CCC6C2 | RGB: rgb(204, 198, 194) | CMYK: 0%, 3%, 5%, 20% | HSV: 24°, 5%, 80%. Copy any format from the conversion table above.
What colors go well with #CCC6C2?
The complementary color is HSL(202, 9%, 78%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 9%, 78%) in CSS?
As HSL: color: hsl(22, 9%, 78%); — As HEX: color: #CCC6C2; — As RGB: color: rgb(204, 198, 194); — Tailwind CSS: bg-[hsl(22,9%,78%)] — CSS variable: --color-primary: hsl(22, 9%, 78%);