HSL(32, 8%, 28%)

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(32,8%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(32, 8%, 28%) color: hsl(32, 8%, 28%)
HEX #4D4842 color: #4D4842
RGB rgb(77, 72, 66) color: rgb(77, 72, 66)
CMYK cmyk(0%, 6%, 14%, 70%)
HSV hsv(33, 14%, 30%)
HWB hwb(33 26% 70%) color: hwb(33 26% 70%)
OKLCH oklch(0.4046 0.0119 72.49) color: oklch(0.4046 0.0119 72.49)
Lab lab(30.89 0.88 4.35) color: lab(30.89 0.88 4.35)
LCH lch(30.89 4.44 78.56) color: lch(30.89 4.44 78.56)

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 9.05:1
vs Black 2.32: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)

#4B4B43 — rgb(75, 75, 67)

Deuteranopia (Green-blind)

#4B4C44 — rgb(75, 76, 68)

Tritanopia (Blue-blind)

#4D4545 — rgb(77, 69, 69)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(32, 8%, 28%);

text

color: hsl(32, 8%, 28%);

border

border: 2px solid hsl(32, 8%, 28%);

gradient light

background: linear-gradient(to right, hsl(32, 8%, 48%), hsl(32, 8%, 28%));

gradient dark

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

hex

background-color: #4D4842;

tailwind

bg-[hsl(32,8%,28%)]

box shadow

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

css variable

--color-primary: hsl(32, 8%, 28%);

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(32, 8%, 28%)?

HEX: #4D4842 | RGB: rgb(77, 72, 66) | CMYK: 0%, 6%, 14%, 70% | HSV: 33°, 14%, 30%. Copy any format from the conversion table above.

What colors go well with #4D4842?

The complementary color is HSL(212, 8%, 28%). For a triadic harmony, use hues 32°, 152°, and 272°. For analogous combinations, try hues 2° and 62°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(32, 8%, 28%) in CSS?

As HSL: color: hsl(32, 8%, 28%); — As HEX: color: #4D4842; — As RGB: color: rgb(77, 72, 66); — Tailwind CSS: bg-[hsl(32,8%,28%)] — CSS variable: --color-primary: hsl(32, 8%, 28%);