HSL(159, 9%, 78%)
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(159,9%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 9%, 78%) | color: hsl(159, 9%, 78%) | |
| HEX | #C2CCC8 | color: #C2CCC8 | |
| RGB | rgb(194, 204, 200) | color: rgb(194, 204, 200) | |
| CMYK | cmyk(5%, 0%, 2%, 20%) | — | |
| HSV | hsv(156, 5%, 80%) | — | |
| HWB | hwb(156 76% 20%) | color: hwb(156 76% 20%) | |
| OKLCH | oklch(0.8363 0.0122 170.2) | color: oklch(0.8363 0.0122 170.2) | |
| Lab | lab(81.2 -4.15 0.81) | color: lab(81.2 -4.15 0.81) | |
| LCH | lch(81.2 4.23 168.96) | color: lch(81.2 4.23 168.96) |
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)
#C6C6C9 — rgb(198, 198, 201)
Deuteranopia (Green-blind)
#C6C5C9 — rgb(198, 197, 201)
Tritanopia (Blue-blind)
#C3CACA — rgb(195, 202, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 9%, 78%);
text
color: hsl(159, 9%, 78%);
border
border: 2px solid hsl(159, 9%, 78%);
gradient light
background: linear-gradient(to right, hsl(159, 9%, 98%), hsl(159, 9%, 78%));
gradient dark
background: linear-gradient(to right, hsl(159, 9%, 78%), hsl(159, 9%, 58%))
hex
background-color: #C2CCC8;
tailwind
bg-[hsl(159,9%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 9%, 78%, 0.4);
css variable
--color-primary: hsl(159, 9%, 78%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(159, 9%, 78%)?
HEX: #C2CCC8 | RGB: rgb(194, 204, 200) | CMYK: 5%, 0%, 2%, 20% | HSV: 156°, 5%, 80%. Copy any format from the conversion table above.
What colors go well with #C2CCC8?
The complementary color is HSL(339, 9%, 78%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 9%, 78%) in CSS?
As HSL: color: hsl(159, 9%, 78%); — As HEX: color: #C2CCC8; — As RGB: color: rgb(194, 204, 200); — Tailwind CSS: bg-[hsl(159,9%,78%)] — CSS variable: --color-primary: hsl(159, 9%, 78%);