Skip to content
ColorsGuide

Gray

#808080

Gray (#808080)

Gray is a CSS named colour (also written Grey), so you can use the keyword gray directly in CSS. It is a mid-tone grey.

  • HEX#808080
  • RGBrgb(128 128 128)
  • HSLhsl(0 0% 50.2%)
  • HSV / HSBhsv(0 0% 50.2%)
  • HWBhwb(0 50.2% 49.8%)
  • OKLCHoklch(59.99% 0 0)
  • CIELABlab(53.59% 0 0)
  • CMYKcmyk(0% 0% 0% 50%)

CMYK is an approximation without a print profile. Name: CSS standard name.

Text and contrast

White text

3.94:1 · Large text only

Black text

5.31:1 · AA

On white

3.94:1 · Large text / UI

On black

5.31:1 · AA

Check #808080 against any colour

Colour harmonies

Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.

Shades and tints

Build a 50–950 scale from #808080 · Turn it into a brand palette

Palettes with #808080

Curated palettes with a similar colour

Colour combinations