HSL(201, 2%, 52%)

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(201,2%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(201, 2%, 52%) color: hsl(201, 2%, 52%)
HEX #828587 color: #828587
RGB rgb(130, 133, 135) color: rgb(130, 133, 135)
CMYK cmyk(4%, 1%, 0%, 47%)
HSV hsv(204, 4%, 53%)
HWB hwb(204 51% 47%) color: hwb(204 51% 47%)
OKLCH oklch(0.6148 0.0047 236.54) color: oklch(0.6148 0.0047 236.54)
Lab lab(55.35 -0.7 -1.46) color: lab(55.35 -0.7 -1.46)
LCH lch(55.35 1.62 244.38) color: lch(55.35 1.62 244.38)

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 3.71:1
vs Black 5.65:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#838387 — rgb(131, 131, 135)

Deuteranopia (Green-blind)

#838386 — rgb(131, 131, 134)

Tritanopia (Blue-blind)

#828686 — rgb(130, 134, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(201, 2%, 52%);

text

color: hsl(201, 2%, 52%);

border

border: 2px solid hsl(201, 2%, 52%);

gradient light

background: linear-gradient(to right, hsl(201, 2%, 72%), hsl(201, 2%, 52%));

gradient dark

background: linear-gradient(to right, hsl(201, 2%, 52%), hsl(201, 2%, 32%))

hex

background-color: #828587;

tailwind

bg-[hsl(201,2%,52%)]

box shadow

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

css variable

--color-primary: hsl(201, 2%, 52%);

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(201, 2%, 52%)?

HEX: #828587 | RGB: rgb(130, 133, 135) | CMYK: 4%, 1%, 0%, 47% | HSV: 204°, 4%, 53%. Copy any format from the conversion table above.

What colors go well with #828587?

The complementary color is HSL(21, 2%, 52%). For a triadic harmony, use hues 201°, 321°, and 81°. For analogous combinations, try hues 171° and 231°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(201, 2%, 52%) in CSS?

As HSL: color: hsl(201, 2%, 52%); — As HEX: color: #828587; — As RGB: color: rgb(130, 133, 135); — Tailwind CSS: bg-[hsl(201,2%,52%)] — CSS variable: --color-primary: hsl(201, 2%, 52%);