Skip to content

Gray#808080 HEX Color

#808080rgb(128, 128, 128)
#808080 color swatch

About Gray

Gray (#808080) is a warm, mid, muted neutral tone with a hue of 0°, saturation of 0% and lightness of 50%. It works well for backgrounds and minimalist UI and conveys a timeless feeling. On a white background it reaches a contrast ratio of 3.95:1, while on black it reaches 5.32:1 — so prefer black text when using #808080 as a background.

Color Codes

HEX#808080
RGBrgb(128, 128, 128)
HSLhsl(0°, 0%, 50%)
CMYKcmyk(0%, 0%, 0%, 50%)
CIELABLab(53.6, 0, 0)

Accessibility & Contrast

On white
3.95:1
AA Normalfails
AA Largepasses
AAA Normalfails
AAA Largefails
On black
5.32:1
AA Normalpasses
AA Largepasses
AAA Normalfails
AAA Largepasses

Recommendation: when using #808080 as a background, use black text for the highest contrast.

Color Schemes

Tints & Shades

CSS Code Snippets

background-color: #808080;
color: #808080;
border: 2px solid #808080;
background: linear-gradient(135deg, #808080, #808080);

Code Export

css
:root {
  --color-primary: #808080;
  --color-primary-rgb: 128, 128, 128;
  --color-primary-hsl: 0, 0%, 50%;
}

Explore Color Tools

Related Tools

Related Combinations

Frequently Asked Questions

What is the name of color #808080?

Color #808080 is commonly known as Gray. It is a warm, mid, muted neutral tone.

Is #808080 a warm or cool color?

Gray (#808080) is a warm color. With a hue of 0°, it falls in the neutral family.

What colors go well with #808080?

Colors that pair well with Gray (#808080) include its complementary color (#808080), neutral whites and warm creams, and analogous neutral tones for harmonious palettes.