#8A7876#8A7876
#8A7876 is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.9% C 0.023 H 25.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7876 |
|---|---|
| RGB | rgb(138, 120, 118) |
| HSL | hsl(6, 8%, 50%) |
| HSV | hsv(6, 14%, 54%) |
| CMYK | cmyk(0%, 13%, 14.5%, 45.9%) |
| CIE-LAB | lab(52.00, 6.59, 3.65) |
| CIE-LCH | lch(52.00, 7.54, 29.01°) |
| OKLab | oklab(58.87% 0.0205 0.0097) |
| OKLCH | oklch(58.87% 0.023 25.4) |
| XYZ | xyz(20.4676, 20.1447, 19.9462) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 6.40
Warm Grey
#978A84
ΔE00 7.06
Gray
#808080
ΔE00 8.66
Taupe
#8B7D6B
ΔE00 9.28
Medium Grey
#7D7F7C
ΔE00 10.62
Purple Grey
#866F85
ΔE00 10.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7876 #76888A
analogous
#8A767E #8A7876 #8A8276
triadic
#8A7876 #768A78 #78768A
tetradic
#8A7876 #7E8A76 #76888A #82768A
square
#8A7876 #7E8A76 #76888A #82768A
split-complementary
#8A7876 #768A82 #767E8A
monochromatic
#483F3E #695B5A #8A7876 #A69997 #C2B9B8
Accessibility & contrast
On white
4.18
#8A7876 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8A7876 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7876
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7876 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7876 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7A76
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#8E7677
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7876; /* rgb */ color: rgb(138, 120, 118); /* oklch */ color: oklch(58.9% 0.023 25.4);
Tailwind
colors: {
custom: {
50: '#ac9f9d',
500: '#8a7876',
950: '#000000',
},
}SCSS
$custom: #8a7876; $custom-light: #ac9f9d; $custom-dark: #000000;
JSON
{
"hex": "#8a7876",
"rgb": {
"r": 138,
"g": 120,
"b": 118
},
"hsl": {
"h": 6,
"s": 7.874,
"l": 50.196
},
"oklch": {
"l": 0.58871,
"c": 0.02263,
"h": 25.4
},
"luminance": 0.20144
}Semantic roles & 50–950 ramp
primary
#8A7876
secondary
#A9B1B2
accent
#ABB177
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E