Color Palettes

Medium gray color

An exact middle gray with equal red, green and blue values at half strength. Designers and photographers use it as a neutral reference, and it is a safe base for UI elements and backgrounds.

Also known as: Middle gray, Mid gray.

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

See it in real life

Pick a color to pair it with and see how it looks on clothes, interiors and design.

Colors similar to medium gray

Gray#808080Battleship gray#848482Smoke gray#848884Taupe gray#8B8589Nickel#727472Steel gray#71797E

About medium gray

Medium 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, UI, photography.

Swatch of Medium gray with its shades from light to dark · #808080
Medium gray · #808080

Medium gray shades and tints

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

See all its shades: Color shades generator

Medium gray outfits: palettes by season

Outfit palettes with medium gray or a very close shade, each with 8 outfits to copy.

Quiet luxuryFall · MenMinimalistFall · MenStreetwearSpring · MenOfficeSummer · MenStreetwearSummer · MenMountainWinter · MenOfficeWinter · MenNight outSpring · Men

Medium gray color palettes

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

Monochromatic palette · Medium gray
Analogous palette · Medium gray
Complementary palette · Medium gray
Triadic palette · Medium gray
With neutrals palette · Medium gray
With an accent palette · Medium gray

Medium 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 {
  --medium-gray: #808080;
  --medium-gray-rgb: 128, 128, 128;
}
.bg { background-color: var(--medium-gray); }
.text { color: var(--medium-gray); }

Colors similar to medium gray

Lead grayStone grayDove grayPewter

Themed palettes with this color

More grays

GrayLight grayDark graySilverCharcoal graySlate grayAsh grayPearl grayOxford grayGraphiteTaupeSteel grayLead graySmoke grayStone grayPlatinumBlue grayGreigeGunmetal grayPewterCool grayDove grayGainsboroLight slate gray
Swatch of Medium gray with its shades from light to dark · #808080
Swatch of Medium gray with its shades from light to dark · #808080

Try this next

Name color paletteType a name and get your own color story paletteColor PlinkoDrop chips, bounce down the pegs, get a paletteColor Scratch-OffScratch a free ticket and reveal a palette
See all free tools →

Frequently asked questions

What is the hex code for medium gray?

The hex code for medium 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 medium 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 medium gray?

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