#8A787A#8A787A
#8A787A is a mid, muted grey. Relative luminance 0.202; OKLCH L 59.0% C 0.022 H 10.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A787A |
|---|---|
| RGB | rgb(138, 120, 122) |
| HSL | hsl(353, 7%, 51%) |
| HSV | hsv(353, 13%, 54%) |
| CMYK | cmyk(0%, 13%, 11.6%, 45.9%) |
| CIE-LAB | lab(52.11, 7.30, 1.47) |
| CIE-LCH | lch(52.11, 7.45, 11.36°) |
| OKLab | oklab(58.99% 0.0221 0.004) |
| OKLCH | oklch(58.99% 0.022 10.2) |
| XYZ | xyz(20.7103, 20.2418, 21.2247) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 6.84
Warm Grey
#978A84
ΔE00 7.97
Gray
#808080
ΔE00 8.96
Purple Grey
#866F85
ΔE00 9.00
Purpley Grey
#947E94
ΔE00 9.04
Purplish Grey
#7A687F
ΔE00 10.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A787A #788A88
analogous
#8A7883 #8A787A #8A7F78
triadic
#8A787A #7A8A78 #787A8A
tetradic
#8A787A #838A78 #788A88 #7F788A
square
#8A787A #838A78 #788A88 #7F788A
split-complementary
#8A787A #788A7F #78838A
monochromatic
#493F40 #695B5D #8A787A #A6999A #C3BABB
Accessibility & contrast
On white
4.16
#8A787A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#8A787A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A787A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A787A | 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)
#7B7A7A
Deuteranopia (green-blind)
#7F7D7A
Tritanopia (blue-blind)
#8E7779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a787a; /* rgb */ color: rgb(138, 120, 122); /* oklch */ color: oklch(59.0% 0.022 10.2);
Tailwind
colors: {
custom: {
50: '#ac9fa0',
500: '#8a787a',
950: '#000000',
},
}SCSS
$custom: #8a787a; $custom-light: #ac9fa0; $custom-dark: #000000;
JSON
{
"hex": "#8a787a",
"rgb": {
"r": 138,
"g": 120,
"b": 122
},
"hsl": {
"h": 353.333,
"s": 7.143,
"l": 50.588
},
"oklch": {
"l": 0.58992,
"c": 0.02248,
"h": 10.2
},
"luminance": 0.20241
}Semantic roles & 50–950 ramp
primary
#8A787A
secondary
#ABB3B2
accent
#B0AA78
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E