All colors
CSS named colorNeutral · mid · muted
browser standard

#808080

Gray

Best set with black text. The pairing reaches 5.32:1 contrast and passes AA for normal text.

Color values

copy exact values
HEX#808080sRGB hexadecimal
RGBrgb(128, 128, 128)screen channels
HSLhsl(0, 0%, 50%)hue, saturation, lightness
CMYKcmyk(0%, 0%, 0%, 50%)approximate process color
Tailwindneutral-500nearest palette utility, not an exact token

Foreground contrast

WCAG ratios
White textlarge text3.95:1
Black textAA5.32:1

Recommendation

Use black text for the stronger built-in pairing. AA requires 4.5:1 for normal text; AAA requires 7:1.

Palette relationships

generated in color space
Tonal ramp
#050505
#2E2E2E
#555555
#808080
#A7A7A7
#D0D0D0
#FAFAFA
Analogous
#808080
#808080
#808080
Triadic
#808080
#808080
#808080
Complement
#808080
#808080

Nearest named neighbors

Lab distance · lower is closer

Exact alias: Grey.

CSS output

:root {
  --color-gray: #808080;
}

.swatch {
  background: var(--color-gray);
  color: #000000;
}
Hueneutral
Lightness54 L*
Chroma0.0
Luminance0.216