HSL(147, 2%, 22%)

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(147,2%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(147, 2%, 22%) color: hsl(147, 2%, 22%)
HEX #373938 color: #373938
RGB rgb(55, 57, 56) color: rgb(55, 57, 56)
CMYK cmyk(4%, 0%, 2%, 78%)
HSV hsv(150, 4%, 22%)
HWB hwb(150 21% 78%) color: hwb(150 21% 78%)
OKLCH oklch(0.3423 0.0032 164.89) color: oklch(0.3423 0.0032 164.89)
Lab lab(23.75 -1.09 0.32) color: lab(23.75 -1.09 0.32)
LCH lch(23.75 1.14 163.64) color: lch(23.75 1.14 163.64)

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 11.64:1
vs Black 1.8: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)

#383838 — rgb(56, 56, 56)

Deuteranopia (Green-blind)

#383838 — rgb(56, 56, 56)

Tritanopia (Blue-blind)

#373838 — rgb(55, 56, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(147, 2%, 22%);

text

color: hsl(147, 2%, 22%);

border

border: 2px solid hsl(147, 2%, 22%);

gradient light

background: linear-gradient(to right, hsl(147, 2%, 42%), hsl(147, 2%, 22%));

gradient dark

background: linear-gradient(to right, hsl(147, 2%, 22%), hsl(147, 2%, 2%))

hex

background-color: #373938;

tailwind

bg-[hsl(147,2%,22%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(147, 2%, 22%, 0.4);

css variable

--color-primary: hsl(147, 2%, 22%);

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(147, 2%, 22%)?

HEX: #373938 | RGB: rgb(55, 57, 56) | CMYK: 4%, 0%, 2%, 78% | HSV: 150°, 4%, 22%. Copy any format from the conversion table above.

What colors go well with #373938?

The complementary color is HSL(327, 2%, 22%). For a triadic harmony, use hues 147°, 267°, and 27°. For analogous combinations, try hues 117° and 177°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(147, 2%, 22%) in CSS?

As HSL: color: hsl(147, 2%, 22%); — As HEX: color: #373938; — As RGB: color: rgb(55, 57, 56); — Tailwind CSS: bg-[hsl(147,2%,22%)] — CSS variable: --color-primary: hsl(147, 2%, 22%);