Gray
#808080
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 808080 | ||
| HEX with # | #808080 | ||
| RGB | rgb(128, 128, 128) | ||
| RGBA | rgba(128, 128, 128, 1) | ||
| HSL | hsl(0 0% 50.2%) | ||
| HSLA | hsla(0, 0%, 50.2%, 1) | ||
| HSV | hsv(0, 0%, 50.2%) | ||
| CMYK | cmyk(0%, 0%, 0%, 49.8%) | ||
| OKLCH | oklch(59.99% 0 89.88) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #808080;
bg-[#808080]
Accessibility quick-check
White text
3.95:1
AA large
Black text
5.32:1
AA normal
Reference notes
Gray is the nearest readable name for #808080, a muted red with balanced value. Its RGB value is 128, 128, 128, while the HSL reading places it around 0 degrees of hue, 0% saturation, and 50% lightness. Its neutral temperature makes it easier to place in a palette: warm colors tend to move forward, cool colors tend to recede, and neutral colors depend more heavily on surrounding contrast. For interface work, start with the accessibility table before assigning this color to text, icons, or interactive states; perceived brightness can differ from the raw hex value. Pairing suggestions on this page are generated from hue relationships, so they work as starting points rather than fixed brand or accessibility recommendations. For palette building, start with one strong relationship from the pairing section, then adjust lightness until the hierarchy remains readable at small sizes. It works best in backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. For stronger contrast, compare it with black and white text and then choose pairings from complementary or split-complementary suggestions.