HSL(42, 9%, 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(42,9%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 9%, 74%) | color: hsl(42, 9%, 74%) | |
| HEX | #C3BFB7 | color: #C3BFB7 | |
| RGB | rgb(195, 191, 183) | color: rgb(195, 191, 183) | |
| CMYK | cmyk(0%, 2%, 6%, 24%) | — | |
| HSV | hsv(40, 6%, 76%) | — | |
| HWB | hwb(40 71% 24%) | color: hwb(40 71% 24%) | |
| OKLCH | oklch(0.8056 0.012 84.58) | color: oklch(0.8056 0.012 84.58) | |
| Lab | lab(77.45 -0.03 4.52) | color: lab(77.45 -0.03 4.52) | |
| LCH | lch(77.45 4.52 90.38) | color: lch(77.45 4.52 90.38) |
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)
#C1C1B9 — rgb(193, 193, 185)
Deuteranopia (Green-blind)
#C2C2B9 — rgb(194, 194, 185)
Tritanopia (Blue-blind)
#C3BABB — rgb(195, 186, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 9%, 74%);
text
color: hsl(42, 9%, 74%);
border
border: 2px solid hsl(42, 9%, 74%);
gradient light
background: linear-gradient(to right, hsl(42, 9%, 94%), hsl(42, 9%, 74%));
gradient dark
background: linear-gradient(to right, hsl(42, 9%, 74%), hsl(42, 9%, 54%))
hex
background-color: #C3BFB7;
tailwind
bg-[hsl(42,9%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 9%, 74%, 0.4);
css variable
--color-primary: hsl(42, 9%, 74%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 9%, 74%)?
HEX: #C3BFB7 | RGB: rgb(195, 191, 183) | CMYK: 0%, 2%, 6%, 24% | HSV: 40°, 6%, 76%. Copy any format from the conversion table above.
What colors go well with #C3BFB7?
The complementary color is HSL(222, 9%, 74%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 9%, 74%) in CSS?
As HSL: color: hsl(42, 9%, 74%); — As HEX: color: #C3BFB7; — As RGB: color: rgb(195, 191, 183); — Tailwind CSS: bg-[hsl(42,9%,74%)] — CSS variable: --color-primary: hsl(42, 9%, 74%);