grey grey #808080

grey is #808080 in hexadecimal, rgb(128, 128, 128) in decimal and hsl(0, 0, 50) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#808080
HEX#808080
RGBrgb(128, 128, 128)
HSLhsl(0, 0%, 50%)

Harmonies

Complementary

#609f9f

Analogous

#9f6080#9f8060

Triadic

#609f60#60609f

Split complementary

#609f80#60809f

Tints & shades

#6e6e6e#757575#808080#8a8a8a#919191

Accessibility

vs #ffffff3.95:1
vs #0000005.32:1
Suggested text color#000000 · 5.32:1 · WCAG AA

Similar named colors

gray#808080slategray#708090slategrey#708090lightslategray#778899lightslategrey#778899dimgray#696969

FAQ

What is the HEX code for grey?

grey is #808080 in hex, rgb(128, 128, 128) in decimal and hsl(0, 0%, 50%) in HSL. In CSS you can write either color: grey; or color: #808080; — they are equivalent.

What colors go with grey?

The complementary #609f9f gives the strongest contrast, the analogous pair #9f6080 / #9f8060 is the safest, and the triad #609f60 / #60609f adds more tension. All three are derived from the 0° hue of #808080.

Does #808080 read better on white or black?

Its contrast is 3.95:1 against white and 5.32:1 against black. Use #000000 text on it — that gives 5.32:1, which meets WCAG AA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors