#87787E#87787E
#87787E is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.8% C 0.020 H 351.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #87787E |
|---|---|
| RGB | rgb(135, 120, 126) |
| HSL | hsl(336, 6%, 50%) |
| HSV | hsv(336, 11%, 53%) |
| CMYK | cmyk(0%, 11.1%, 6.7%, 47.1%) |
| CIE-LAB | lab(51.94, 6.88, -1.16) |
| CIE-LCH | lch(51.94, 6.98, 350.40°) |
| OKLab | oklab(58.83% 0.0202 -0.003) |
| OKLCH | oklch(58.83% 0.02 351.6) |
| XYZ | xyz(20.4737, 20.0905, 22.5339) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purple Grey
#866F85
ΔE00 7.62
Purpley Grey
#947E94
ΔE00 7.75
Gray
#808080
ΔE00 8.57
Reddish Grey
#997570
ΔE00 8.74
Warm Grey
#978A84
ΔE00 9.02
Purplish Grey
#7A687F
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87787E #788781
analogous
#877885 #87787E #877A78
triadic
#87787E #7E8778 #787E87
tetradic
#87787E #858778 #788781 #7A7887
square
#87787E #858778 #788781 #7A7887
split-complementary
#87787E #78877A #788587
monochromatic
#463E42 #675B60 #87787E #A4989D #C1B9BC
Accessibility & contrast
On white
4.18
#87787E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#87787E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87787E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87787E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87787E | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#7C7D7E
Tritanopia (blue-blind)
#8A787A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #87787e; /* rgb */ color: rgb(135, 120, 126); /* oklch */ color: oklch(58.8% 0.020 351.6);
Tailwind
colors: {
custom: {
50: '#aa9fa3',
500: '#87787e',
950: '#000000',
},
}SCSS
$custom: #87787e; $custom-light: #aa9fa3; $custom-dark: #000000;
JSON
{
"hex": "#87787e",
"rgb": {
"r": 135,
"g": 120,
"b": 126
},
"hsl": {
"h": 336,
"s": 5.882,
"l": 50
},
"oklch": {
"l": 0.5883,
"c": 0.02041,
"h": 351.6
},
"luminance": 0.2009
}Semantic roles & 50–950 ramp
primary
#87787E
secondary
#AAB1AE
accent
#AF9979
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100E0F
muted
#7F7E7F