HSL(312, 2%, 37%)

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(312,2%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(312, 2%, 37%) color: hsl(312, 2%, 37%)
HEX #605C5F color: #605C5F
RGB rgb(96, 92, 95) color: rgb(96, 92, 95)
CMYK cmyk(0%, 4%, 1%, 62%)
HSV hsv(315, 4%, 38%)
HWB hwb(315 36% 62%) color: hwb(315 36% 62%)
OKLCH oklch(0.4795 0.0069 334.12) color: oklch(0.4795 0.0069 334.12)
Lab lab(39.53 2.22 -1.15) color: lab(39.53 2.22 -1.15)
LCH lch(39.53 2.5 332.62) color: lch(39.53 2.5 332.62)

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 6.58:1
vs Black 3.19:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5E5E5E — rgb(94, 94, 94)

Deuteranopia (Green-blind)

#5F5F5E — rgb(95, 95, 94)

Tritanopia (Blue-blind)

#605E5E — rgb(96, 94, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(312, 2%, 37%);

text

color: hsl(312, 2%, 37%);

border

border: 2px solid hsl(312, 2%, 37%);

gradient light

background: linear-gradient(to right, hsl(312, 2%, 57%), hsl(312, 2%, 37%));

gradient dark

background: linear-gradient(to right, hsl(312, 2%, 37%), hsl(312, 2%, 17%))

hex

background-color: #605C5F;

tailwind

bg-[hsl(312,2%,37%)]

box shadow

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

css variable

--color-primary: hsl(312, 2%, 37%);

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(312, 2%, 37%)?

HEX: #605C5F | RGB: rgb(96, 92, 95) | CMYK: 0%, 4%, 1%, 62% | HSV: 315°, 4%, 38%. Copy any format from the conversion table above.

What colors go well with #605C5F?

The complementary color is HSL(132, 2%, 37%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(312, 2%, 37%) in CSS?

As HSL: color: hsl(312, 2%, 37%); — As HEX: color: #605C5F; — As RGB: color: rgb(96, 92, 95); — Tailwind CSS: bg-[hsl(312,2%,37%)] — CSS variable: --color-primary: hsl(312, 2%, 37%);