HSL(321, 5%, 24%)

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(321,5%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(321, 5%, 24%) color: hsl(321, 5%, 24%)
HEX #403A3E color: #403A3E
RGB rgb(64, 58, 62) color: rgb(64, 58, 62)
CMYK cmyk(0%, 9%, 3%, 75%)
HSV hsv(320, 9%, 25%)
HWB hwb(320 23% 75%) color: hwb(320 23% 75%)
OKLCH oklch(0.3561 0.0107 337.86) color: oklch(0.3561 0.0107 337.86)
Lab lab(25.15 3.47 -1.53) color: lab(25.15 3.47 -1.53)
LCH lch(25.15 3.79 336.21) color: lch(25.15 3.79 336.21)

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.09:1
vs Black 1.89: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)

#3D3D3D — rgb(61, 61, 61)

Deuteranopia (Green-blind)

#3E3E3D — rgb(62, 62, 61)

Tritanopia (Blue-blind)

#403C3C — rgb(64, 60, 60)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(321, 5%, 24%);

text

color: hsl(321, 5%, 24%);

border

border: 2px solid hsl(321, 5%, 24%);

gradient light

background: linear-gradient(to right, hsl(321, 5%, 44%), hsl(321, 5%, 24%));

gradient dark

background: linear-gradient(to right, hsl(321, 5%, 24%), hsl(321, 5%, 4%))

hex

background-color: #403A3E;

tailwind

bg-[hsl(321,5%,24%)]

box shadow

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

css variable

--color-primary: hsl(321, 5%, 24%);

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(321, 5%, 24%)?

HEX: #403A3E | RGB: rgb(64, 58, 62) | CMYK: 0%, 9%, 3%, 75% | HSV: 320°, 9%, 25%. Copy any format from the conversion table above.

What colors go well with #403A3E?

The complementary color is HSL(141, 5%, 24%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(321, 5%, 24%) in CSS?

As HSL: color: hsl(321, 5%, 24%); — As HEX: color: #403A3E; — As RGB: color: rgb(64, 58, 62); — Tailwind CSS: bg-[hsl(321,5%,24%)] — CSS variable: --color-primary: hsl(321, 5%, 24%);