HSL(22, 7%, 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,7%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 7%, 78%) | color: hsl(22, 7%, 78%) | |
| HEX | #CBC6C3 | color: #CBC6C3 | |
| RGB | rgb(203, 198, 195) | color: rgb(203, 198, 195) | |
| CMYK | cmyk(0%, 2%, 4%, 20%) | — | |
| HSV | hsv(23, 4%, 80%) | — | |
| HWB | hwb(23 77% 20%) | color: hwb(23 77% 20%) | |
| OKLCH | oklch(0.8297 0.007 53.43) | color: oklch(0.8297 0.007 53.43) | |
| Lab | lab(80.19 1.2 2.11) | color: lab(80.19 1.2 2.11) | |
| LCH | lch(80.19 2.43 60.37) | color: lch(80.19 2.43 60.37) |
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)
#C9C9C4 — rgb(201, 201, 196)
Deuteranopia (Green-blind)
#C9CAC4 — rgb(201, 202, 196)
Tritanopia (Blue-blind)
#CBC4C4 — rgb(203, 196, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 7%, 78%);
text
color: hsl(22, 7%, 78%);
border
border: 2px solid hsl(22, 7%, 78%);
gradient light
background: linear-gradient(to right, hsl(22, 7%, 98%), hsl(22, 7%, 78%));
gradient dark
background: linear-gradient(to right, hsl(22, 7%, 78%), hsl(22, 7%, 58%))
hex
background-color: #CBC6C3;
tailwind
bg-[hsl(22,7%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 7%, 78%, 0.4);
css variable
--color-primary: hsl(22, 7%, 78%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 7%, 78%)?
HEX: #CBC6C3 | RGB: rgb(203, 198, 195) | CMYK: 0%, 2%, 4%, 20% | HSV: 23°, 4%, 80%. Copy any format from the conversion table above.
What colors go well with #CBC6C3?
The complementary color is HSL(202, 7%, 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, 7%, 78%) in CSS?
As HSL: color: hsl(22, 7%, 78%); — As HEX: color: #CBC6C3; — As RGB: color: rgb(203, 198, 195); — Tailwind CSS: bg-[hsl(22,7%,78%)] — CSS variable: --color-primary: hsl(22, 7%, 78%);