HSL(22, 2%, 29%)

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

Color Conversions

Format Value CSS Usage
HSL hsl(22, 2%, 29%) color: hsl(22, 2%, 29%)
HEX #4B4A48 color: #4B4A48
RGB rgb(75, 74, 72) color: rgb(75, 74, 72)
CMYK cmyk(0%, 1%, 4%, 71%)
HSV hsv(40, 4%, 29%)
HWB hwb(40 28% 71%) color: hwb(40 28% 71%)
OKLCH oklch(0.4094 0.0036 84.57) color: oklch(0.4094 0.0036 84.57)
Lab lab(31.49 -0.02 1.34) color: lab(31.49 -0.02 1.34)
LCH lch(31.49 1.34 90.86) color: lch(31.49 1.34 90.86)

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 8.85:1
vs Black 2.37: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)

#4B4B48 — rgb(75, 75, 72)

Deuteranopia (Green-blind)

#4B4B49 — rgb(75, 75, 73)

Tritanopia (Blue-blind)

#4B4949 — rgb(75, 73, 73)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(22, 2%, 49%), hsl(22, 2%, 29%));

gradient dark

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

hex

background-color: #4B4A48;

tailwind

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

box shadow

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

css variable

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

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

HEX: #4B4A48 | RGB: rgb(75, 74, 72) | CMYK: 0%, 1%, 4%, 71% | HSV: 40°, 4%, 29%. Copy any format from the conversion table above.

What colors go well with #4B4A48?

The complementary color is HSL(202, 2%, 29%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(22, 2%, 29%); — As HEX: color: #4B4A48; — As RGB: color: rgb(75, 74, 72); — Tailwind CSS: bg-[hsl(22,2%,29%)] — CSS variable: --color-primary: hsl(22, 2%, 29%);