HSL(267, 2%, 73%)

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(267,2%,73%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 2%, 73%) color: hsl(267, 2%, 73%)
HEX #BAB9BC color: #BAB9BC
RGB rgb(186, 185, 188) color: rgb(186, 185, 188)
CMYK cmyk(1%, 2%, 0%, 26%)
HSV hsv(260, 2%, 74%)
HWB hwb(260 73% 26%) color: hwb(260 73% 26%)
OKLCH oklch(0.7875 0.0043 301.4) color: oklch(0.7875 0.0043 301.4)
Lab lab(75.31 0.91 -1.39) color: lab(75.31 0.91 -1.39)
LCH lch(75.31 1.66 303.21) color: lch(75.31 1.66 303.21)

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.95:1
vs Black 10.75: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)

#BABABB — rgb(186, 186, 187)

Deuteranopia (Green-blind)

#BABABB — rgb(186, 186, 187)

Tritanopia (Blue-blind)

#BABBBB — rgb(186, 187, 187)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 2%, 73%);

text

color: hsl(267, 2%, 73%);

border

border: 2px solid hsl(267, 2%, 73%);

gradient light

background: linear-gradient(to right, hsl(267, 2%, 93%), hsl(267, 2%, 73%));

gradient dark

background: linear-gradient(to right, hsl(267, 2%, 73%), hsl(267, 2%, 53%))

hex

background-color: #BAB9BC;

tailwind

bg-[hsl(267,2%,73%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(267, 2%, 73%, 0.4);

css variable

--color-primary: hsl(267, 2%, 73%);

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(267, 2%, 73%)?

HEX: #BAB9BC | RGB: rgb(186, 185, 188) | CMYK: 1%, 2%, 0%, 26% | HSV: 260°, 2%, 74%. Copy any format from the conversion table above.

What colors go well with #BAB9BC?

The complementary color is HSL(87, 2%, 73%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 2%, 73%) in CSS?

As HSL: color: hsl(267, 2%, 73%); — As HEX: color: #BAB9BC; — As RGB: color: rgb(186, 185, 188); — Tailwind CSS: bg-[hsl(267,2%,73%)] — CSS variable: --color-primary: hsl(267, 2%, 73%);