HSL(350, 5%, 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(350,5%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(350, 5%, 52%) color: hsl(350, 5%, 52%)
HEX #8B7E81 color: #8B7E81
RGB rgb(139, 126, 129) color: rgb(139, 126, 129)
CMYK cmyk(0%, 9%, 7%, 45%)
HSV hsv(346, 9%, 55%)
HWB hwb(346 50% 45%) color: hwb(346 50% 45%)
OKLCH oklch(0.6057 0.0164 1.88) color: oklch(0.6057 0.0164 1.88)
Lab lab(54.02 5.5 0.17) color: lab(54.02 5.5 0.17)
LCH lch(54.02 5.5 1.77) color: lch(54.02 5.5 1.77)

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.89:1
vs Black 5.4: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)

#858580 — rgb(133, 133, 128)

Deuteranopia (Green-blind)

#868780 — rgb(134, 135, 128)

Tritanopia (Blue-blind)

#8A8080 — rgb(138, 128, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(350, 5%, 52%);

text

color: hsl(350, 5%, 52%);

border

border: 2px solid hsl(350, 5%, 52%);

gradient light

background: linear-gradient(to right, hsl(350, 5%, 72%), hsl(350, 5%, 52%));

gradient dark

background: linear-gradient(to right, hsl(350, 5%, 52%), hsl(350, 5%, 32%))

hex

background-color: #8B7E81;

tailwind

bg-[hsl(350,5%,52%)]

box shadow

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

css variable

--color-primary: hsl(350, 5%, 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(350, 5%, 52%)?

HEX: #8B7E81 | RGB: rgb(139, 126, 129) | CMYK: 0%, 9%, 7%, 45% | HSV: 346°, 9%, 55%. Copy any format from the conversion table above.

What colors go well with #8B7E81?

The complementary color is HSL(170, 5%, 52%). For a triadic harmony, use hues 350°, 110°, and 230°. For analogous combinations, try hues 320° and 20°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(350, 5%, 52%) in CSS?

As HSL: color: hsl(350, 5%, 52%); — As HEX: color: #8B7E81; — As RGB: color: rgb(139, 126, 129); — Tailwind CSS: bg-[hsl(350,5%,52%)] — CSS variable: --color-primary: hsl(350, 5%, 52%);