HSL(17, 3%, 72%)

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(17,3%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(17, 3%, 72%) color: hsl(17, 3%, 72%)
HEX #BAB7B5 color: #BAB7B5
RGB rgb(186, 183, 181) color: rgb(186, 183, 181)
CMYK cmyk(0%, 2%, 3%, 27%)
HSV hsv(24, 3%, 73%)
HWB hwb(24 71% 27%) color: hwb(24 71% 27%)
OKLCH oklch(0.7813 0.0044 56.36) color: oklch(0.7813 0.0044 56.36)
Lab lab(74.6 0.69 1.39) color: lab(74.6 0.69 1.39)
LCH lch(74.6 1.55 63.6) color: lch(74.6 1.55 63.6)

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.99:1
vs Black 10.53: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)

#B9B9B5 — rgb(185, 185, 181)

Deuteranopia (Green-blind)

#B9B9B6 — rgb(185, 185, 182)

Tritanopia (Blue-blind)

#BAB6B6 — rgb(186, 182, 182)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(17, 3%, 72%);

text

color: hsl(17, 3%, 72%);

border

border: 2px solid hsl(17, 3%, 72%);

gradient light

background: linear-gradient(to right, hsl(17, 3%, 92%), hsl(17, 3%, 72%));

gradient dark

background: linear-gradient(to right, hsl(17, 3%, 72%), hsl(17, 3%, 52%))

hex

background-color: #BAB7B5;

tailwind

bg-[hsl(17,3%,72%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(17, 3%, 72%, 0.4);

css variable

--color-primary: hsl(17, 3%, 72%);

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(17, 3%, 72%)?

HEX: #BAB7B5 | RGB: rgb(186, 183, 181) | CMYK: 0%, 2%, 3%, 27% | HSV: 24°, 3%, 73%. Copy any format from the conversion table above.

What colors go well with #BAB7B5?

The complementary color is HSL(197, 3%, 72%). For a triadic harmony, use hues 17°, 137°, and 257°. For analogous combinations, try hues 347° and 47°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(17, 3%, 72%) in CSS?

As HSL: color: hsl(17, 3%, 72%); — As HEX: color: #BAB7B5; — As RGB: color: rgb(186, 183, 181); — Tailwind CSS: bg-[hsl(17,3%,72%)] — CSS variable: --color-primary: hsl(17, 3%, 72%);