#808080
Gray
HEX
RGB
HSL
About #808080 Gray
#808080 is a gray color. In the RGB color model, it is composed of 128 red, 128 green, and 128 blue. In the HSL color space, it has a hue of 0°, saturation of 0%, and lightness of 50%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With low saturation, it appears muted and subtle.
CSS Code
Use #808080 in your CSS, SCSS, or Tailwind projects.
Color Properties
0°
Hue
0%
Saturation
50%
Lightness
Gray
Color Harmonies
Colors that work well with #808080 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #808080 against white and black backgrounds.
Aa#808080 on White
Contrast Ratio3.95:1
AA ✗AA Large ✓AAA ✗
Aa#808080 on Black
Contrast Ratio5.32:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #808080 across different color formats.
| Format | Value |
|---|---|
| HEX | #808080 |
| RGB | rgb(128, 128, 128) |
| HSL | hsl(0, 0%, 50%) |
| RGB Decimal | 128, 128, 128 |
| RGB Percent | 50.2%, 50.2%, 50.2% |
| CMYK (approx.) | 0%, 0%, 0%, 50% |
Related Palettes
12 palettes using #808080 or similar colors