HSL(22, 5%, 74%)
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,5%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 5%, 74%) | color: hsl(22, 5%, 74%) | |
| HEX | #C0BCB9 | color: #C0BCB9 | |
| RGB | rgb(192, 188, 185) | color: rgb(192, 188, 185) | |
| CMYK | cmyk(0%, 2%, 4%, 25%) | — | |
| HSV | hsv(26, 4%, 75%) | — | |
| HWB | hwb(26 72% 25%) | color: hwb(26 72% 25%) | |
| OKLCH | oklch(0.7976 0.0062 59.63) | color: oklch(0.7976 0.0062 59.63) | |
| Lab | lab(76.48 0.86 2.01) | color: lab(76.48 0.86 2.01) | |
| LCH | lch(76.48 2.19 66.84) | color: lch(76.48 2.19 66.84) |
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)
#BEBEBA — rgb(190, 190, 186)
Deuteranopia (Green-blind)
#BFBFBA — rgb(191, 191, 186)
Tritanopia (Blue-blind)
#C0BABA — rgb(192, 186, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 5%, 74%);
text
color: hsl(22, 5%, 74%);
border
border: 2px solid hsl(22, 5%, 74%);
gradient light
background: linear-gradient(to right, hsl(22, 5%, 94%), hsl(22, 5%, 74%));
gradient dark
background: linear-gradient(to right, hsl(22, 5%, 74%), hsl(22, 5%, 54%))
hex
background-color: #C0BCB9;
tailwind
bg-[hsl(22,5%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 5%, 74%, 0.4);
css variable
--color-primary: hsl(22, 5%, 74%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(22, 5%, 74%)?
HEX: #C0BCB9 | RGB: rgb(192, 188, 185) | CMYK: 0%, 2%, 4%, 25% | HSV: 26°, 4%, 75%. Copy any format from the conversion table above.
What colors go well with #C0BCB9?
The complementary color is HSL(202, 5%, 74%). 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, 5%, 74%) in CSS?
As HSL: color: hsl(22, 5%, 74%); — As HEX: color: #C0BCB9; — As RGB: color: rgb(192, 188, 185); — Tailwind CSS: bg-[hsl(22,5%,74%)] — CSS variable: --color-primary: hsl(22, 5%, 74%);