Skip to main content
WebColorTools

Gray — #808080

Also known as: Grey

#808080, primarily known as Gray (also called Grey), is composed of 50% red, 50% green, and 50% blue in RGB. In CMYK it is 0% cyan, 0% magenta, 0% yellow, 50% black. In HSL the hue angle is 0°, saturation 0%, and lightness 50%. The closest web-safe color is #999999.

Format Value Copy
HEX #808080
RGB rgb(128, 128, 128)
HSL hsl(0, 0%, 50.2%)
HSV hsv(0, 0%, 50.2%)
CMYK cmyk(0%, 0%, 0%, 49.8%)
OKLCH oklch(59.99% 0 89.88)
HWB hwb(0 50.2% 49.8%)
LAB lab(53.6% 0 0)
LCH lch(53.6% 0 0)
OKLAB oklab(59.99% 0 0)
XYZ X 20.52 Y 21.59 Z 23.5
Web Safe #999999
RGB Percent 50.2%, 50.2%, 50.2%
Decimal 8421504

Color harmonies

Harmony swatches keep the same saturation and lightness as the base color.

Explore on Color Wheel →

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Alternative colors

Nearby variations by nudging hue and lightness. Click a swatch to open that color.

Similar named colors

Nearest matches from our 30,000-name dataset (CIELAB ΔE). Click a swatch to open that color.

Tints, shades & tones

Full Tints, Shades & Tones →

On white

Sample

3.95:1

AA normal ✗ · AA large ✓

On black

Sample

5.32:1

AA normal ✓ · AA large ✓

Protanopia

100% similar

1.3% of men, 0.02% of women

Deuteranopia

100% similar

6% of men, 0.4% of women

Tritanopia

100% similar

0.001% of population

Achromatopsia

100% similar

0.003% of population

UI preview

Simplified components using a Tailwind-style scale generated from this color.

Open in Tailwind Scale Generator →

Button

Alert

Heads up

This alert uses lighter tints for the background and a mid-tone for the border.

Progress

67% complete