HSL(21, 2%, 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(21,2%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 2%, 78%) | color: hsl(21, 2%, 78%) | |
| HEX | #C8C7C6 | color: #C8C7C6 | |
| RGB | rgb(200, 199, 198) | color: rgb(200, 199, 198) | |
| CMYK | cmyk(0%, 0%, 1%, 22%) | — | |
| HSV | hsv(30, 1%, 78%) | — | |
| HWB | hwb(30 77% 22%) | color: hwb(30 77% 22%) | |
| OKLCH | oklch(0.8302 0.0018 67.8) | color: oklch(0.8302 0.0018 67.8) | |
| Lab | lab(80.29 0.16 0.62) | color: lab(80.29 0.16 0.62) | |
| LCH | lch(80.29 0.64 75.53) | color: lch(80.29 0.64 75.53) |
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)
#C8C8C6 — rgb(200, 200, 198)
Deuteranopia (Green-blind)
#C8C8C6 — rgb(200, 200, 198)
Tritanopia (Blue-blind)
#C8C6C6 — rgb(200, 198, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 2%, 78%);
text
color: hsl(21, 2%, 78%);
border
border: 2px solid hsl(21, 2%, 78%);
gradient light
background: linear-gradient(to right, hsl(21, 2%, 98%), hsl(21, 2%, 78%));
gradient dark
background: linear-gradient(to right, hsl(21, 2%, 78%), hsl(21, 2%, 58%))
hex
background-color: #C8C7C6;
tailwind
bg-[hsl(21,2%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 2%, 78%, 0.4);
css variable
--color-primary: hsl(21, 2%, 78%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(21, 2%, 78%)?
HEX: #C8C7C6 | RGB: rgb(200, 199, 198) | CMYK: 0%, 0%, 1%, 22% | HSV: 30°, 1%, 78%. Copy any format from the conversion table above.
What colors go well with #C8C7C6?
The complementary color is HSL(201, 2%, 78%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 2%, 78%) in CSS?
As HSL: color: hsl(21, 2%, 78%); — As HEX: color: #C8C7C6; — As RGB: color: rgb(200, 199, 198); — Tailwind CSS: bg-[hsl(21,2%,78%)] — CSS variable: --color-primary: hsl(21, 2%, 78%);