HSL(342, 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(342,5%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 5%, 74%) color: hsl(342, 5%, 74%)
HEX #C0B9BB color: #C0B9BB
RGB rgb(192, 185, 187) color: rgb(192, 185, 187)
CMYK cmyk(0%, 4%, 3%, 25%)
HSV hsv(343, 4%, 75%)
HWB hwb(343 72% 25%) color: hwb(343 72% 25%)
OKLCH oklch(0.7921 0.0084 357.86) color: oklch(0.7921 0.0084 357.86)
Lab lab(75.76 2.82 -0.13) color: lab(75.76 2.82 -0.13)
LCH lch(75.76 2.82 357.36) color: lch(75.76 2.82 357.36)

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.93:1
vs Black 10.9: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)

#BDBDBB — rgb(189, 189, 187)

Deuteranopia (Green-blind)

#BDBEBA — rgb(189, 190, 186)

Tritanopia (Blue-blind)

#C0BABA — rgb(192, 186, 186)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 5%, 74%);

text

color: hsl(342, 5%, 74%);

border

border: 2px solid hsl(342, 5%, 74%);

gradient light

background: linear-gradient(to right, hsl(342, 5%, 94%), hsl(342, 5%, 74%));

gradient dark

background: linear-gradient(to right, hsl(342, 5%, 74%), hsl(342, 5%, 54%))

hex

background-color: #C0B9BB;

tailwind

bg-[hsl(342,5%,74%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(342, 5%, 74%, 0.4);

css variable

--color-primary: hsl(342, 5%, 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(342, 5%, 74%)?

HEX: #C0B9BB | RGB: rgb(192, 185, 187) | CMYK: 0%, 4%, 3%, 25% | HSV: 343°, 4%, 75%. Copy any format from the conversion table above.

What colors go well with #C0B9BB?

The complementary color is HSL(162, 5%, 74%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 5%, 74%) in CSS?

As HSL: color: hsl(342, 5%, 74%); — As HEX: color: #C0B9BB; — As RGB: color: rgb(192, 185, 187); — Tailwind CSS: bg-[hsl(342,5%,74%)] — CSS variable: --color-primary: hsl(342, 5%, 74%);