Gray Color

#808080 · rgb(128, 128, 128)

Gray is a CSS named color with the hex code #808080. It is a medium gray color. In RGB it is made of 50% red, 50% green and 50% blue.

HEX#808080
RGBrgb(128, 128, 128)
HSLhsl(0, 0%, 50%)
HSV / HSBhsv(0, 0%, 50%)
CMYKcmyk(0%, 0%, 0%, 50%)
Decimal8421504
CSS namegray
Similar named colorSteel (#797979)
Luminance21.6%
Closest Tailwindneutral-500 (#737373)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 3.95:1 · AA (large text only)
Black text · 5.32:1 · AA
#808080 on white · 3.95:1
#808080 on black · 5.32:1

CSS

.text   { color: #808080; }
.bg     { background-color: #808080; }
.border { border: 2px solid #808080; }
.grad   { background: linear-gradient(135deg, #808080, #808080); }

Tints of Gray

#8D8D8D · #999999 · #A6A6A6 · #B3B3B3 · #C0C0C0 · #CCCCCC · #D9D9D9 · #E6E6E6 · #F2F2F2

Shades of Gray

#737373 · #666666 · #5A5A5A · #4D4D4D · #404040 · #333333 · #262626 · #1A1A1A · #0D0D0D

Color combinations

Complementary

#808080 · #808080

Analogous

#808080 · #808080 · #808080

Triadic

#808080 · #808080 · #808080

Split complementary

#808080 · #808080 · #808080

Tetradic

#808080 · #808080 · #808080 · #808080

Colors similar to Gray

Gray: questions & answers

What color is #808080?

#808080 is a medium gray. In the RGB model it is made of 50% red, 50% green and 50% blue.

What is Gray in RGB?

rgb(128, 128, 128). In HSL it is hsl(0, 0%, 50%), and in CMYK it is approximately cmyk(0%, 0%, 0%, 50%).

What colors go with Gray?

Its complementary color is #808080. For a calmer scheme, try the analogous colors #808080 and #808080.

Should I use white or black text on Gray?

Black text reads better: contrast is 5.32:1 (WCAG AA).