#8A787B#8A787B
#8A787B is a mid, muted grey. Relative luminance 0.203; OKLCH L 59.0% C 0.023 H 6.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A787B |
|---|---|
| RGB | rgb(138, 120, 123) |
| HSL | hsl(350, 7%, 51%) |
| HSV | hsv(350, 13%, 54%) |
| CMYK | cmyk(0%, 13%, 10.9%, 45.9%) |
| CIE-LAB | lab(52.14, 7.48, 0.92) |
| CIE-LCH | lch(52.14, 7.54, 7.01°) |
| OKLab | oklab(59.02% 0.0225 0.0025) |
| OKLCH | oklch(59.02% 0.023 6.4) |
| XYZ | xyz(20.7726, 20.2667, 21.5527) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 7.04
Warm Grey
#978A84
ΔE00 8.25
Purple Grey
#866F85
ΔE00 8.55
Purpley Grey
#947E94
ΔE00 8.58
Gray
#808080
ΔE00 9.09
Purplish Grey
#7A687F
ΔE00 10.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A787B #788A87
analogous
#8A7884 #8A787B #8A7E78
triadic
#8A787B #7B8A78 #787B8A
tetradic
#8A787B #848A78 #788A87 #7E788A
square
#8A787B #848A78 #788A87 #7E788A
split-complementary
#8A787B #788A7E #78848A
monochromatic
#493F41 #695B5E #8A787B #A6999B #C3BABB
Accessibility & contrast
On white
4.16
#8A787B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#8A787B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A787B
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A787B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A787B | 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)
#7A7B7B
Deuteranopia (green-blind)
#7E7E7B
Tritanopia (blue-blind)
#8E7779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a787b; /* rgb */ color: rgb(138, 120, 123); /* oklch */ color: oklch(59.0% 0.023 6.4);
Tailwind
colors: {
custom: {
50: '#ac9fa1',
500: '#8a787b',
950: '#000000',
},
}SCSS
$custom: #8a787b; $custom-light: #ac9fa1; $custom-dark: #000000;
JSON
{
"hex": "#8a787b",
"rgb": {
"r": 138,
"g": 120,
"b": 123
},
"hsl": {
"h": 350,
"s": 7.143,
"l": 50.588
},
"oklch": {
"l": 0.59023,
"c": 0.02268,
"h": 6.4
},
"luminance": 0.20266
}Semantic roles & 50–950 ramp
primary
#8A787B
secondary
#ABB3B2
accent
#B0A778
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E