Gray Color

Gray is a medium gray with hex code #808080. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#808080RGB 128 128 128
Gray#808080

Gray color codes

HEX#808080
RGBrgb(128, 128, 128)
HSLhsl(0, 0%, 50%)
HSV0°, 0%, 50%
CMYK0%, 0%, 0%, 50%
OKLCHoklch(60% 0 89.9)
Tailwindbg-[#808080]

Closest Tailwind colour: neutral-500 (#737373). Convert any colour in the Color Converter.

About Gray

Gray (#808080) is a medium gray. In the RGB model it is 50% red, 50% green and 50% blue; its hue angle is 0°, with 0% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 50% black.

It is a neutral colour and appears in our shades of gray. Text on it reads best in black (5.3:1 contrast).

Gray tints and shades

Tints mix gray with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Gray

Gray is a neutral, so it works with almost any colour. These pairings use its tone with a hue added.

Complementary

Gray

Analogous

Gray

Triadic

Gray

Split complementary

Gray

Gray contrast

White text3.95:1
  • AA text fail
  • AAA text fail
  • AA large pass
Black text5.32:1
  • AA text pass
  • AAA text fail
  • AA large pass

Using Gray in CSS

.brand {
  color: #808080;
}
.button {
  background: #808080;
  color: #111;
}
.hero {
  background: linear-gradient(135deg, #acacac, #808080, #535353);
}

Similar colors

Gradients with Gray

Very closeMercedes-Benz

Mercedes

Very closeCurated

Afternoon

Very closeCurated

Tree Bark

Very closeCurated

Titanium

CloseCurated

Mocha

More gradients near #808080 →

Gray FAQ

What color is Gray?

Gray is a medium gray. Its hex code is #808080 and it is a neutral colour.

What is the hex code for Gray?

The hex code for Gray is #808080. In RGB that is rgb(128, 128, 128), and in HSL hsl(0, 0%, 50%).

What is Gray in CMYK?

Gray is roughly C 0%, M 0%, Y 0%, K 50% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Gray?

Gray is a neutral and pairs with almost any colour; one saturated accent usually looks best.

Is white or black text better on Gray?

Black text reads better on Gray: 5.3:1 contrast, against 3.9:1 for white. WCAG asks for 4.5:1 for body text.

Browse colors