HSL(37, 7%, 31%)

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(37,7%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(37, 7%, 31%) color: hsl(37, 7%, 31%)
HEX #55504A color: #55504A
RGB rgb(85, 80, 74) color: rgb(85, 80, 74)
CMYK cmyk(0%, 6%, 13%, 67%)
HSV hsv(33, 13%, 33%)
HWB hwb(33 29% 67%) color: hwb(33 29% 67%)
OKLCH oklch(0.4341 0.0117 72.51) color: oklch(0.4341 0.0117 72.51)
Lab lab(34.32 0.85 4.27) color: lab(34.32 0.85 4.27)
LCH lch(34.32 4.35 78.74) color: lch(34.32 4.35 78.74)

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 7.98:1
vs Black 2.63:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#53534B — rgb(83, 83, 75)

Deuteranopia (Green-blind)

#53544C — rgb(83, 84, 76)

Tritanopia (Blue-blind)

#554D4D — rgb(85, 77, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(37, 7%, 31%);

text

color: hsl(37, 7%, 31%);

border

border: 2px solid hsl(37, 7%, 31%);

gradient light

background: linear-gradient(to right, hsl(37, 7%, 51%), hsl(37, 7%, 31%));

gradient dark

background: linear-gradient(to right, hsl(37, 7%, 31%), hsl(37, 7%, 11%))

hex

background-color: #55504A;

tailwind

bg-[hsl(37,7%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(37, 7%, 31%, 0.4);

css variable

--color-primary: hsl(37, 7%, 31%);

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(37, 7%, 31%)?

HEX: #55504A | RGB: rgb(85, 80, 74) | CMYK: 0%, 6%, 13%, 67% | HSV: 33°, 13%, 33%. Copy any format from the conversion table above.

What colors go well with #55504A?

The complementary color is HSL(217, 7%, 31%). For a triadic harmony, use hues 37°, 157°, and 277°. For analogous combinations, try hues 7° and 67°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(37, 7%, 31%) in CSS?

As HSL: color: hsl(37, 7%, 31%); — As HEX: color: #55504A; — As RGB: color: rgb(85, 80, 74); — Tailwind CSS: bg-[hsl(37,7%,31%)] — CSS variable: --color-primary: hsl(37, 7%, 31%);