HSL(92, 2%, 50%)

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(92,2%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(92, 2%, 50%) color: hsl(92, 2%, 50%)
HEX #7F827D color: #7F827D
RGB rgb(127, 130, 125) color: rgb(127, 130, 125)
CMYK cmyk(2%, 0%, 4%, 49%)
HSV hsv(96, 4%, 51%)
HWB hwb(96 49% 49%) color: hwb(96 49% 49%)
OKLCH oklch(0.6025 0.0082 132.46) color: oklch(0.6025 0.0082 132.46)
Lab lab(53.98 -2.11 2.31) color: lab(53.98 -2.11 2.31)
LCH lch(53.98 3.13 132.41) color: lch(53.98 3.13 132.41)

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.89:1
vs Black 5.39: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)

#80807E — rgb(128, 128, 126)

Deuteranopia (Green-blind)

#80807F — rgb(128, 128, 127)

Tritanopia (Blue-blind)

#7F7F7F — rgb(127, 127, 127)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(92, 2%, 50%);

text

color: hsl(92, 2%, 50%);

border

border: 2px solid hsl(92, 2%, 50%);

gradient light

background: linear-gradient(to right, hsl(92, 2%, 70%), hsl(92, 2%, 50%));

gradient dark

background: linear-gradient(to right, hsl(92, 2%, 50%), hsl(92, 2%, 30%))

hex

background-color: #7F827D;

tailwind

bg-[hsl(92,2%,50%)]

box shadow

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

css variable

--color-primary: hsl(92, 2%, 50%);

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(92, 2%, 50%)?

HEX: #7F827D | RGB: rgb(127, 130, 125) | CMYK: 2%, 0%, 4%, 49% | HSV: 96°, 4%, 51%. Copy any format from the conversion table above.

What colors go well with #7F827D?

The complementary color is HSL(272, 2%, 50%). For a triadic harmony, use hues 92°, 212°, and 332°. For analogous combinations, try hues 62° and 122°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(92, 2%, 50%) in CSS?

As HSL: color: hsl(92, 2%, 50%); — As HEX: color: #7F827D; — As RGB: color: rgb(127, 130, 125); — Tailwind CSS: bg-[hsl(92,2%,50%)] — CSS variable: --color-primary: hsl(92, 2%, 50%);