HSL(304, 9%, 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(304,9%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(304, 9%, 29%) color: hsl(304, 9%, 29%)
HEX #514350 color: #514350
RGB rgb(81, 67, 80) color: rgb(81, 67, 80)
CMYK cmyk(0%, 17%, 1%, 68%)
HSV hsv(304, 17%, 32%)
HWB hwb(304 27% 68%) color: hwb(304 27% 68%)
OKLCH oklch(0.4021 0.0282 328.37) color: oklch(0.4021 0.0282 328.37)
Lab lab(30.26 8.65 -5.55) color: lab(30.26 8.65 -5.55)
LCH lch(30.26 10.28 327.32) color: lch(30.26 10.28 327.32)

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.26:1
vs Black 2.27: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)

#4B4B4D — rgb(75, 75, 77)

Deuteranopia (Green-blind)

#4C4D4C — rgb(76, 77, 76)

Tritanopia (Blue-blind)

#504A4A — rgb(80, 74, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(304, 9%, 29%);

text

color: hsl(304, 9%, 29%);

border

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

gradient light

background: linear-gradient(to right, hsl(304, 9%, 49%), hsl(304, 9%, 29%));

gradient dark

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

hex

background-color: #514350;

tailwind

bg-[hsl(304,9%,29%)]

box shadow

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

css variable

--color-primary: hsl(304, 9%, 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(304, 9%, 29%)?

HEX: #514350 | RGB: rgb(81, 67, 80) | CMYK: 0%, 17%, 1%, 68% | HSV: 304°, 17%, 32%. Copy any format from the conversion table above.

What colors go well with #514350?

The complementary color is HSL(124, 9%, 29%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(304, 9%, 29%) in CSS?

As HSL: color: hsl(304, 9%, 29%); — As HEX: color: #514350; — As RGB: color: rgb(81, 67, 80); — Tailwind CSS: bg-[hsl(304,9%,29%)] — CSS variable: --color-primary: hsl(304, 9%, 29%);