Image Color Lab

CSS named color

#808080 — gray

rgb(128, 128, 128)

Color codes

HEX
#808080
RGB
rgb(128, 128, 128)
HSL
hsl(0 0% 50%)
CMYK
cmyk(0% 0% 0% 50%)
OKLCH
oklch(60% 0 0)

Contrast

3.95:1 on white

AA for large text only

5.32:1 on black

AA normal · AAA large text

Tints and shades

Harmonies

About gray

gray is written as #808080 in hex, rgb(128, 128, 128) in RGB and hsl(0 0% 50%) in HSL. Its lightness sits at 50%, which is why it reads aa for large text only against white.

Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.