HSL(318, 6%, 33%)

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(318,6%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 6%, 33%) color: hsl(318, 6%, 33%)
HEX #594F56 color: #594F56
RGB rgb(89, 79, 86) color: rgb(89, 79, 86)
CMYK cmyk(0%, 11%, 3%, 65%)
HSV hsv(318, 11%, 35%)
HWB hwb(318 31% 65%) color: hwb(318 31% 65%)
OKLCH oklch(0.4399 0.0172 336.59) color: oklch(0.4399 0.0172 336.59)
Lab lab(34.78 5.56 -2.59) color: lab(34.78 5.56 -2.59)
LCH lch(34.78 6.13 335.02) color: lch(34.78 6.13 335.02)

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 7.84:1
vs Black 2.68: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)

#555554 — rgb(85, 85, 84)

Deuteranopia (Green-blind)

#555654 — rgb(85, 86, 84)

Tritanopia (Blue-blind)

#595353 — rgb(89, 83, 83)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 6%, 33%);

text

color: hsl(318, 6%, 33%);

border

border: 2px solid hsl(318, 6%, 33%);

gradient light

background: linear-gradient(to right, hsl(318, 6%, 53%), hsl(318, 6%, 33%));

gradient dark

background: linear-gradient(to right, hsl(318, 6%, 33%), hsl(318, 6%, 13%))

hex

background-color: #594F56;

tailwind

bg-[hsl(318,6%,33%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(318, 6%, 33%, 0.4);

css variable

--color-primary: hsl(318, 6%, 33%);

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(318, 6%, 33%)?

HEX: #594F56 | RGB: rgb(89, 79, 86) | CMYK: 0%, 11%, 3%, 65% | HSV: 318°, 11%, 35%. Copy any format from the conversion table above.

What colors go well with #594F56?

The complementary color is HSL(138, 6%, 33%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(318, 6%, 33%) in CSS?

As HSL: color: hsl(318, 6%, 33%); — As HEX: color: #594F56; — As RGB: color: rgb(89, 79, 86); — Tailwind CSS: bg-[hsl(318,6%,33%)] — CSS variable: --color-primary: hsl(318, 6%, 33%);