Gray (#808080)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 3.95:1 — vs black: 5.32:1

Color values

  • HEX #808080
  • RGB rgb(128, 128, 128)
  • HSL hsl(0, 0%, 50%)
  • CMYK cmyk( 0, 0, 0, 49.8 )
  • Websafe #999999

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #808080 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Gray
#808080 Base
Gray
#808080
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Gray
#808080 Base
Gray
#808080
Gray
#808080
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Gray
#808080 Base
Gray
#808080
Gray
#808080
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Gray
#808080 Base
Gray
#808080
Gray
#808080
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Gray
#808080 Base
Gray
#808080
Gray
#808080
Gray
#808080
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Gray
#808080 Base
Jet
#343434
#5A5A5A
#6C6C6C
#949494
#A6A6A6
#CDCDCD
Shades & Tints

Darker shades and lighter tints of Gray, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#0D0D0D
#242424
#3B3B3B
#525252
Dim Gray #696969
Gray #808080 Base
#979797
#AEAEAE
#C5C5C5
#DBDBDB
#F2F2F2
CSS & SCSS Snippets

Ready-to-use code snippets for #808080. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #808080;
}

/* Text */
.element {
    color: #808080;
}

/* Border */
.element {
    border: 1px solid #808080;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #808080,
        #808080
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #808080,
        #808080
    );
}
SCSS Variable
// SCSS variable
$gray: #808080;

// With RGB channels (useful for rgba() usage)
$gray-r: 128;
$gray-g: 128;
$gray-b: 128;

// Usage
.element {
    background-color: $gray;
    color: rgba($gray-r, $gray-g, $gray-b, 0.8);
}
Color Blindness Simulation

How Gray appears to people with different types of color vision deficiency.

Normal Vision #808080 How the color appears with full color vision.
Deuteranopia #808080 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #808080 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #808080 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #808080 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Gray ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Gray #808080 Base
Battleship Grey #848482 ΔE 1.87
Sonic Silver #757575 ΔE 4.32
Taupe Gray #8B8589 ΔE 4.91
Rocket Metallic #8A7F80 ΔE 5.78

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.