#87797E#87797E
#87797E is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 59.0% C 0.019 H 354.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #87797E |
|---|---|
| RGB | rgb(135, 121, 126) |
| HSL | hsl(339, 6%, 50%) |
| HSV | hsv(339, 10%, 53%) |
| CMYK | cmyk(0%, 10.4%, 6.7%, 47.1%) |
| CIE-LAB | lab(52.21, 6.30, -0.77) |
| CIE-LCH | lch(52.21, 6.35, 353.06°) |
| OKLab | oklab(59.04% 0.0186 -0.0019) |
| OKLCH | oklch(59.04% 0.019 354) |
| XYZ | xyz(20.5945, 20.3323, 22.5742) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 7.93
Purpley Grey
#947E94
ΔE00 8.22
Purple Grey
#866F85
ΔE00 8.31
Warm Grey
#978A84
ΔE00 8.40
Reddish Grey
#997570
ΔE00 8.84
Purplish Grey
#7A687F
ΔE00 9.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87797E #798782
analogous
#877985 #87797E #877B79
triadic
#87797E #7E8779 #797E87
tetradic
#87797E #858779 #798782 #7B7987
square
#87797E #858779 #798782 #7B7987
split-complementary
#87797E #79877B #798587
monochromatic
#463F42 #675C60 #87797E #A4999D #C1BABC
Accessibility & contrast
On white
4.14
#87797E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#87797E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87797E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87797E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87797E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7B7E
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#8A797B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #87797e; /* rgb */ color: rgb(135, 121, 126); /* oklch */ color: oklch(59.0% 0.019 354.0);
Tailwind
colors: {
custom: {
50: '#aa9fa3',
500: '#87797e',
950: '#000000',
},
}SCSS
$custom: #87797e; $custom-light: #aa9fa3; $custom-dark: #000000;
JSON
{
"hex": "#87797e",
"rgb": {
"r": 135,
"g": 121,
"b": 126
},
"hsl": {
"h": 338.571,
"s": 5.512,
"l": 50.196
},
"oklch": {
"l": 0.59041,
"c": 0.01867,
"h": 354
},
"luminance": 0.20332
}Semantic roles & 50–950 ramp
primary
#87797E
secondary
#ABB1AF
accent
#AF9C79
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100E0F
muted
#7F7E7F