#808080 (Gray) Hex Color: RGB, HSL and Shades

#808080 is a gray color with RGB 128, 128, 128 and HSL 0, 0%, 50%. In CSS it is named "Gray". The closest web safe color is #999999.

#808080Gray

#808080 in RGB, HSL and CMYK

Click a value to copy it. The same color is shown in each format your app may ask for.

What Color Is Gray (#808080)?

Gray (#808080) sets red, green, and blue to the same half strength, a true middle gray. In CSS it can be written as gray or grey.

Where It Is Used

  • Secondary text such as captions and notes
  • Borders, dividers, and disabled buttons
  • Comparison series in charts, like last year or the average

Tips for Using It

Being right in the middle, it has limited contrast with both white and black text. It works better as a text or line color than as a background.

How It Differs From Similar Colors

How to Use #808080 in PowerPoint and Canva

In PowerPoint, open More Colors, go to the Custom tab and type 808080 into the Hex box (without the #). For the Red, Green and Blue boxes, enter 128, 128 and 128.

In Canva, add a new color in the color picker and paste #808080. In Google Slides, enter #808080 in the hex box under Custom to get the same color.

Text Colors That Read Well on #808080

Contrast ratios for white and black text on this color. Higher is easier to read; WCAG recommends at least 4.5 for body text.

Sample text Aa

white text · Contrast ratio 3.94:1

Readable for large text only

Sample text Aa

black text · Contrast ratio 5.31:1

AA: readable as body text

black text is easier to read on this color.

Make a phone or desktop wallpaper in #808080

Save a wallpaper (PNG image) filled with this single color, sized to your screen.

The image is created in this browser. Your color and image are never sent to a server.

Tints and Shades of #808080

#808080 mixed with white and with black in 10% steps. Click a swatch to open that color.

Tints (mixed with white)

Shades (mixed with black)

Color Schemes for #808080: Complementary and Analogous

Colors rotated by fixed angles on the color wheel. A good starting point for accent colors or chart palettes.

Complementary (opposite)

Analogous (neighbors)

Triadic (thirds of the wheel)

Split complementary

Compare #808080 With Other Colors

Add two colors next to #808080 to check the contrast ratio of each pair and how text looks on each background. Enter colors as HEX or RGB.

#808080

Color 1 · This page's color

#808080
#FFFFFF

Readability of each pair

  • #808080 and #808080

    Text preview AaText preview Aa

    1.00:1

    Not suitable for text

  • #808080 and #FFFFFF

    Text preview AaText preview Aa

    3.94:1

    Readable for large text only

  • #808080 and #FFFFFF

    Text preview AaText preview Aa

    3.94:1

    Readable for large text only

Named Colors Close to #808080

Sorted by visual difference (color distance in CIE L*a*b*).