HSL(297, 9%, 74%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(297,9%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(297, 9%, 74%) color: hsl(297, 9%, 74%)
HEX #C2B7C3 color: #C2B7C3
RGB rgb(194, 183, 195) color: rgb(194, 183, 195)
CMYK cmyk(1%, 6%, 0%, 24%)
HSV hsv(295, 6%, 76%)
HWB hwb(295 71% 24%) color: hwb(295 71% 24%)
OKLCH oklch(0.7921 0.0207 323.25) color: oklch(0.7921 0.0207 323.25)
Lab lab(75.62 6.07 -4.66) color: lab(75.62 6.07 -4.66)
LCH lch(75.62 7.65 322.49) color: lch(75.62 7.65 322.49)

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.86: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)

#BDBDC0 — rgb(189, 189, 192)

Deuteranopia (Green-blind)

#BEBFBF — rgb(190, 191, 191)

Tritanopia (Blue-blind)

#C1BEBD — rgb(193, 190, 189)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(297, 9%, 74%);

text

color: hsl(297, 9%, 74%);

border

border: 2px solid hsl(297, 9%, 74%);

gradient light

background: linear-gradient(to right, hsl(297, 9%, 94%), hsl(297, 9%, 74%));

gradient dark

background: linear-gradient(to right, hsl(297, 9%, 74%), hsl(297, 9%, 54%))

hex

background-color: #C2B7C3;

tailwind

bg-[hsl(297,9%,74%)]

box shadow

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

css variable

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

HEX: #C2B7C3 | RGB: rgb(194, 183, 195) | CMYK: 1%, 6%, 0%, 24% | HSV: 295°, 6%, 76%. Copy any format from the conversion table above.

What colors go well with #C2B7C3?

The complementary color is HSL(117, 9%, 74%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(297, 9%, 74%) in CSS?

As HSL: color: hsl(297, 9%, 74%); — As HEX: color: #C2B7C3; — As RGB: color: rgb(194, 183, 195); — Tailwind CSS: bg-[hsl(297,9%,74%)] — CSS variable: --color-primary: hsl(297, 9%, 74%);