HSL(271, 8%, 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(271,8%,73%)]

Color Conversions

Format Value CSS Usage
HSL hsl(271, 8%, 73%) color: hsl(271, 8%, 73%)
HEX #BAB5C0 color: #BAB5C0
RGB rgb(186, 181, 192) color: rgb(186, 181, 192)
CMYK cmyk(3%, 6%, 0%, 25%)
HSV hsv(267, 6%, 75%)
HWB hwb(267 71% 25%) color: hwb(267 71% 25%)
OKLCH oklch(0.7805 0.0163 306.35) color: oklch(0.7805 0.0163 306.35)
Lab lab(74.38 3.82 -4.94) color: lab(74.38 3.82 -4.94)
LCH lch(74.38 6.24 307.71) color: lch(74.38 6.24 307.71)

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.01:1
vs Black 10.46: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)

#B8B8BD — rgb(184, 184, 189)

Deuteranopia (Green-blind)

#B8B9BD — rgb(184, 185, 189)

Tritanopia (Blue-blind)

#BABBBB — rgb(186, 187, 187)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(271, 8%, 73%);

text

color: hsl(271, 8%, 73%);

border

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

gradient light

background: linear-gradient(to right, hsl(271, 8%, 93%), hsl(271, 8%, 73%));

gradient dark

background: linear-gradient(to right, hsl(271, 8%, 73%), hsl(271, 8%, 53%))

hex

background-color: #BAB5C0;

tailwind

bg-[hsl(271,8%,73%)]

box shadow

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

css variable

--color-primary: hsl(271, 8%, 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(271, 8%, 73%)?

HEX: #BAB5C0 | RGB: rgb(186, 181, 192) | CMYK: 3%, 6%, 0%, 25% | HSV: 267°, 6%, 75%. Copy any format from the conversion table above.

What colors go well with #BAB5C0?

The complementary color is HSL(91, 8%, 73%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(271, 8%, 73%) in CSS?

As HSL: color: hsl(271, 8%, 73%); — As HEX: color: #BAB5C0; — As RGB: color: rgb(186, 181, 192); — Tailwind CSS: bg-[hsl(271,8%,73%)] — CSS variable: --color-primary: hsl(271, 8%, 73%);