HSL(8, 4%, 52%)

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(8,4%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(8, 4%, 52%) color: hsl(8, 4%, 52%)
HEX #898180 color: #898180
RGB rgb(137, 129, 128) color: rgb(137, 129, 128)
CMYK cmyk(0%, 6%, 7%, 46%)
HSV hsv(7, 7%, 54%)
HWB hwb(7 50% 46%) color: hwb(7 50% 46%)
OKLCH oklch(0.61 0.0098 26.07) color: oklch(0.61 0.0098 26.07)
Lab lab(54.63 2.83 1.62) color: lab(54.63 2.83 1.62)
LCH lch(54.63 3.26 29.79) color: lch(54.63 3.26 29.79)

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.81:1
vs Black 5.52: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)

#868580 — rgb(134, 133, 128)

Deuteranopia (Green-blind)

#868780 — rgb(134, 135, 128)

Tritanopia (Blue-blind)

#898080 — rgb(137, 128, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(8, 4%, 52%);

text

color: hsl(8, 4%, 52%);

border

border: 2px solid hsl(8, 4%, 52%);

gradient light

background: linear-gradient(to right, hsl(8, 4%, 72%), hsl(8, 4%, 52%));

gradient dark

background: linear-gradient(to right, hsl(8, 4%, 52%), hsl(8, 4%, 32%))

hex

background-color: #898180;

tailwind

bg-[hsl(8,4%,52%)]

box shadow

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

css variable

--color-primary: hsl(8, 4%, 52%);

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(8, 4%, 52%)?

HEX: #898180 | RGB: rgb(137, 129, 128) | CMYK: 0%, 6%, 7%, 46% | HSV: 7°, 7%, 54%. Copy any format from the conversion table above.

What colors go well with #898180?

The complementary color is HSL(188, 4%, 52%). For a triadic harmony, use hues 8°, 128°, and 248°. For analogous combinations, try hues 338° and 38°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(8, 4%, 52%) in CSS?

As HSL: color: hsl(8, 4%, 52%); — As HEX: color: #898180; — As RGB: color: rgb(137, 129, 128); — Tailwind CSS: bg-[hsl(8,4%,52%)] — CSS variable: --color-primary: hsl(8, 4%, 52%);