#808080
gray / grey
Color values Color notations — HEX (hexadecimal), RGB (light primaries), HSL (hue/saturation/lightness), CMYK (print inks, approximate).
- HEX
-
#808080 - RGB
-
rgb(128, 128, 128) - HSL
-
hsl(0, 0%, 50%) - OKLCH
-
oklch(60% 0 0) - CMYK
-
0% 0% 0% 50%
- Relative luminance Relative luminance: a color's brightness from 0 (black) to 1 (white). It is used to compute WCAG contrast.
- 0.2159
- Hue Hue: the kind of a color (red, orange, yellow…). We group the hue wheel into 12 sectors.
- Achromatic
- CSS color name
- gray / grey
Contrast
| Ratio Contrast ratio: the brightness difference between two colors, from 1:1 to 21:1. Higher is easier to read. | APCA (Lc) APCA: a newer perceptual contrast measure from the WCAG 3 draft. Lc runs about 0–106; higher is easier to read. The sign shows polarity (dark text on light, or light on dark). | |
|---|---|---|
| As background | ||
| White text | 3.95:1 | -72 |
| Black text | 5.32:1 | 37 |
| As text | ||
| White background | 3.95:1 | 67 |
| Black background | 5.32:1 | -35 |
Color harmonies
Shades & tints Shades & tints: lighter steps mixed toward white (tints) and darker steps mixed toward black (shades).
Impressions Impression: a tag for the mood a color evokes — warm, calm, vivid and so on.
Usage preview
As background (black text)
As background (white text)
As text (white background)
As text (black background)
Try a combination
Background Text