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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.83:1
vs Black 11.46:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Neutral backgrounds Body text Borders Secondary buttons Disabled states

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%);