Color Palettes

Gray color

The midpoint between white and black. It's neutral and balanced, letting other colors stand out. It's used for secondary text, wardrobe basics and modern decor.

Also known as: grey.

Gray · #808080

About gray

Gray (#808080) is a neutral, mid-tone, almost unsaturated color. It belongs to the grays family. It mixes 128 red, 128 green and 128 blue (out of 255). It is mostly used in web, home decor, fashion, branding.

Gray shades and tints

From lightest to darkest. Tap a shade to copy its code.

Colors that go with gray

WhiteA clean, minimalist pair.BlackA sleek, modern combination.YellowA cheerful accent that brightens gray.Dusty pinkA soft, modern mix.Navy blueElegant and professional.MustardWarmth on a cool base.Sage greenA calm, natural combination.WineA deep, elegant touch.
How to wear and decorate with gray →

Gray color harmonies

Combinations based on the color wheel. More in the color harmony tool.

Complementary
Analogous
Triadic
Split complementary
Tetradic

Gray color palettes

Copy the codes or open a palette in the editor to tweak it.

Monochromatic palette · Gray
Analogous palette · Gray
Complementary palette · Gray
Triadic palette · Gray
With neutrals palette · Gray
With an accent palette · Gray

Gray contrast with text

White textContrast 3.9:1 · AA large text
Black textContrast 5.3:1 · AA

Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.

CSS code

:root {
  --gray: #808080;
  --gray-rgb: 128, 128, 128;
}
.bg { background-color: var(--gray); }
.text { color: var(--gray); }

Colors similar to gray

Smoke graySteel grayLead grayStone graySlate grayDark grayBlue grayGreigeGraphiteMocha

Themed palettes with this color

More grays

Light grayDark graySilverCharcoal graySlate grayAsh grayPearl grayOxford grayGraphiteTaupeSteel grayLead graySmoke grayStone grayPlatinumBlue grayGreige

Frequently asked questions

What is the hex code for gray?

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

What is the complementary color of gray?

Its complement on the color wheel is #808080, close to gray. Used in small doses, it works as an accent and adds strong contrast.

Can you use white text on gray?

Use black text instead: the contrast with white is only 3.9:1, while with black it is 5.3:1.

What colors go with gray?

It pairs well with white, black, yellow, dusty pink, navy blue. Avoid mixing grays with different undertones, like a bluish gray with a greenish one, because they look mismatched. Gray with a very yellow beige can also look dingy.