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 - RGB
rgb(128 128 128) - HSL
hsl(0 0% 50.2%) - HSV / HSB
hsv(0 0% 50.2%) - HWB
hwb(0 50.2% 49.8%) - OKLCH
oklch(59.99% 0 0) - CIELAB
lab(53.59% 0 0) - CMYK
cmyk(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
Colour harmonies
Complementary
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