Skip to content
RGBHex

gray

#808080

grayCSS named color.

Formats

Open #808080 in the converter →

Contrast & legibility

Text on white3.95:1 AA ✗
Text on black5.32:1 AA ✓

WCAG 2.2 AA requires 4.5:1 for normal text and 3:1 for large text. Check any pair →

Tints & shades

An 11-stop OKLCH ramp through gray (the same engine as the theme builder). Click any stop to open its page.

Harmonies

Explore all harmonies for #808080

Color-blindness preview

#808080

Protanopia

#808080

Deuteranopia

#808080

Tritanopia

#808080

Achromatopsia

How gray appears to viewers with each color-vision deficiency. Full simulator →

About gray

#808080 is gray, a css named color. This page shows its rgb(128, 128, 128) / hsl(0, 0%, 50.2%) / oklch(0.5999 0 0) values, WCAG contrast against black and white, an OKLCH tint-and-shade ramp, and complementary, analogous, and triadic harmonies — all computed in perceptually-uniform OKLCH.