HSL(215, 5%, 55%)

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(215,5%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(215, 5%, 55%) color: hsl(215, 5%, 55%)
HEX #878B92 color: #878B92
RGB rgb(135, 139, 146) color: rgb(135, 139, 146)
CMYK cmyk(8%, 5%, 0%, 43%)
HSV hsv(218, 8%, 57%)
HWB hwb(218 52% 43%) color: hwb(218 52% 43%)
OKLCH oklch(0.6357 0.0115 261.78) color: oklch(0.6357 0.0115 261.78)
Lab lab(57.74 -0.03 -4.23) color: lab(57.74 -0.03 -4.23)
LCH lch(57.74 4.23 269.59) color: lch(57.74 4.23 269.59)

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 3.42:1
vs Black 6.14:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#898990 — rgb(137, 137, 144)

Deuteranopia (Green-blind)

#898890 — rgb(137, 136, 144)

Tritanopia (Blue-blind)

#878F8F — rgb(135, 143, 143)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(215, 5%, 55%);

text

color: hsl(215, 5%, 55%);

border

border: 2px solid hsl(215, 5%, 55%);

gradient light

background: linear-gradient(to right, hsl(215, 5%, 75%), hsl(215, 5%, 55%));

gradient dark

background: linear-gradient(to right, hsl(215, 5%, 55%), hsl(215, 5%, 35%))

hex

background-color: #878B92;

tailwind

bg-[hsl(215,5%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(215, 5%, 55%, 0.4);

css variable

--color-primary: hsl(215, 5%, 55%);

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(215, 5%, 55%)?

HEX: #878B92 | RGB: rgb(135, 139, 146) | CMYK: 8%, 5%, 0%, 43% | HSV: 218°, 8%, 57%. Copy any format from the conversion table above.

What colors go well with #878B92?

The complementary color is HSL(35, 5%, 55%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(215, 5%, 55%) in CSS?

As HSL: color: hsl(215, 5%, 55%); — As HEX: color: #878B92; — As RGB: color: rgb(135, 139, 146); — Tailwind CSS: bg-[hsl(215,5%,55%)] — CSS variable: --color-primary: hsl(215, 5%, 55%);