HSL(113, 5%, 33%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(113,5%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(113, 5%, 33%) color: hsl(113, 5%, 33%)
HEX #515850 color: #515850
RGB rgb(81, 88, 80) color: rgb(81, 88, 80)
CMYK cmyk(8%, 0%, 9%, 65%)
HSV hsv(113, 9%, 35%)
HWB hwb(113 32% 65%) color: hwb(113 32% 65%)
OKLCH oklch(0.4515 0.0156 141.75) color: oklch(0.4515 0.0156 141.75)
Lab lab(36.57 -4.5 3.69) color: lab(36.57 -4.5 3.69)
LCH lch(36.57 5.82 140.65) color: lch(36.57 5.82 140.65)

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.34:1
vs Black 2.86: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)

#545452 — rgb(84, 84, 82)

Deuteranopia (Green-blind)

#545352 — rgb(84, 83, 82)

Tritanopia (Blue-blind)

#515354 — rgb(81, 83, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(113, 5%, 33%);

text

color: hsl(113, 5%, 33%);

border

border: 2px solid hsl(113, 5%, 33%);

gradient light

background: linear-gradient(to right, hsl(113, 5%, 53%), hsl(113, 5%, 33%));

gradient dark

background: linear-gradient(to right, hsl(113, 5%, 33%), hsl(113, 5%, 13%))

hex

background-color: #515850;

tailwind

bg-[hsl(113,5%,33%)]

box shadow

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

css variable

--color-primary: hsl(113, 5%, 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(113, 5%, 33%)?

HEX: #515850 | RGB: rgb(81, 88, 80) | CMYK: 8%, 0%, 9%, 65% | HSV: 113°, 9%, 35%. Copy any format from the conversion table above.

What colors go well with #515850?

The complementary color is HSL(293, 5%, 33%). For a triadic harmony, use hues 113°, 233°, and 353°. For analogous combinations, try hues 83° and 143°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(113, 5%, 33%) in CSS?

As HSL: color: hsl(113, 5%, 33%); — As HEX: color: #515850; — As RGB: color: rgb(81, 88, 80); — Tailwind CSS: bg-[hsl(113,5%,33%)] — CSS variable: --color-primary: hsl(113, 5%, 33%);