Skip to content
Kolorvia
#808080

Gray Color

Neutrals

A neutral tone exactly halfway between black and white.

Conversions

HEX
#808080
RGB
rgb(128, 128, 128)
HSL
hsl(0, 0%, 50.2%)
HSV / HSB
hsv(0, 0%, 50.2%)
CMYK
cmyk(0%, 0%, 0%, 49.8%)
LAB
lab(53.59, -0, 0)
LCH
lch(53.59, 0, 180)
OKLCH
oklch(60%, 0, 0)
HWB
hwb(0, 50.2%, 49.8%)

Harmony colors

Complementary

#808080

Analogous

#808080
#808080
#808080

Triadic

#808080
#808080
#808080

Split-complementary

#808080
#808080
#808080

Tetradic

#808080
#808080
#808080
#808080

Square

#808080
#808080
#808080
#808080

Shades

Gray Color mixed toward black.

#6b6b6b
#555555
#404040
#2b2b2b
#151515

Tints

Gray Color mixed toward white.

#959595
#aaaaaa
#c0c0c0
#d5d5d5
#eaeaea

Tones

Gray Color mixed toward gray.

#808080
#808080
#808080
#808080
#808080

Accessibility

Aa White text on this color
3.95:1
Aa Black text on this color
5.32:1

Black text reads better on this background (5.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#808080 · ΔE 0

Deuteranopia

#808080 · ΔE 0

Tritanopia

#808080 · ΔE 0

Achromatopsia

#808080 · ΔE 0

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #808080;
Tailwind (arbitrary value)
bg-[#808080]

Related colors

Red #ff0000
Maroon #800000
Black #000000
Brown #a52a2a
Dark Gray #a9a9a9
Dark Red #8b0000

Frequently asked questions

Gray (#808080) is rgb(128, 128, 128) in RGB.

No, #808080 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #808080, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.