HSL(18, 7%, 71%)

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(18,7%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(18, 7%, 71%) color: hsl(18, 7%, 71%)
HEX #BAB3B0 color: #BAB3B0
RGB rgb(186, 179, 176) color: rgb(186, 179, 176)
CMYK cmyk(0%, 4%, 5%, 27%)
HSV hsv(18, 5%, 73%)
HWB hwb(18 69% 27%) color: hwb(18 69% 27%)
OKLCH oklch(0.7716 0.0091 44.86) color: oklch(0.7716 0.0091 44.86)
Lab lab(73.42 1.94 2.41) color: lab(73.42 1.94 2.41)
LCH lch(73.42 3.09 51.17) color: lch(73.42 3.09 51.17)

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 2.07:1
vs Black 10.16: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)

#B7B7B1 — rgb(183, 183, 177)

Deuteranopia (Green-blind)

#B7B8B1 — rgb(183, 184, 177)

Tritanopia (Blue-blind)

#BAB1B1 — rgb(186, 177, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(18, 7%, 71%);

text

color: hsl(18, 7%, 71%);

border

border: 2px solid hsl(18, 7%, 71%);

gradient light

background: linear-gradient(to right, hsl(18, 7%, 91%), hsl(18, 7%, 71%));

gradient dark

background: linear-gradient(to right, hsl(18, 7%, 71%), hsl(18, 7%, 51%))

hex

background-color: #BAB3B0;

tailwind

bg-[hsl(18,7%,71%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(18, 7%, 71%, 0.4);

css variable

--color-primary: hsl(18, 7%, 71%);

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(18, 7%, 71%)?

HEX: #BAB3B0 | RGB: rgb(186, 179, 176) | CMYK: 0%, 4%, 5%, 27% | HSV: 18°, 5%, 73%. Copy any format from the conversion table above.

What colors go well with #BAB3B0?

The complementary color is HSL(198, 7%, 71%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(18, 7%, 71%) in CSS?

As HSL: color: hsl(18, 7%, 71%); — As HEX: color: #BAB3B0; — As RGB: color: rgb(186, 179, 176); — Tailwind CSS: bg-[hsl(18,7%,71%)] — CSS variable: --color-primary: hsl(18, 7%, 71%);