#87797A#87797A
#87797A is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.9% C 0.017 H 12.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #87797A |
|---|---|
| RGB | rgb(135, 121, 122) |
| HSL | hsl(356, 6%, 50%) |
| HSV | hsv(356, 10%, 53%) |
| CMYK | cmyk(0%, 10.4%, 9.6%, 47.1%) |
| CIE-LAB | lab(52.10, 5.56, 1.41) |
| CIE-LCH | lch(52.10, 5.73, 14.28°) |
| OKLab | oklab(58.91% 0.0169 0.0038) |
| OKLCH | oklch(58.91% 0.017 12.7) |
| XYZ | xyz(20.3416, 20.2311, 21.2420) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 7.18
Gray
#808080
ΔE00 7.25
Reddish Grey
#997570
ΔE00 8.18
Medium Grey
#7D7F7C
ΔE00 9.42
Purpley Grey
#947E94
ΔE00 10.02
Purple Grey
#866F85
ΔE00 10.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87797A #798786
analogous
#877981 #87797A #877F79
triadic
#87797A #7A8779 #797A87
tetradic
#87797A #818779 #798786 #7F7987
square
#87797A #818779 #798786 #7F7987
split-complementary
#87797A #79877F #798187
monochromatic
#463F40 #675C5D #87797A #A4999A #C1BABA
Accessibility & contrast
On white
4.16
#87797A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#87797A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87797A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87797A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87797A | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7B7A
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#8A7879
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #87797a; /* rgb */ color: rgb(135, 121, 122); /* oklch */ color: oklch(58.9% 0.017 12.7);
Tailwind
colors: {
custom: {
50: '#aa9fa0',
500: '#87797a',
950: '#000000',
},
}SCSS
$custom: #87797a; $custom-light: #aa9fa0; $custom-dark: #000000;
JSON
{
"hex": "#87797a",
"rgb": {
"r": 135,
"g": 121,
"b": 122
},
"hsl": {
"h": 355.714,
"s": 5.512,
"l": 50.196
},
"oklch": {
"l": 0.58915,
"c": 0.01734,
"h": 12.7
},
"luminance": 0.20231
}Semantic roles & 50–950 ramp
primary
#87797A
secondary
#ABB1B1
accent
#AFAB79
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E