#8A7E7E#8A7E7E
#8A7E7E is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.4% C 0.015 H 17.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7E7E |
|---|---|
| RGB | rgb(138, 126, 126) |
| HSL | hsl(0, 5%, 52%) |
| HSV | hsv(0, 9%, 54%) |
| CMYK | cmyk(0%, 8.7%, 8.7%, 45.9%) |
| CIE-LAB | lab(53.85, 4.56, 1.65) |
| CIE-LCH | lch(53.85, 4.85, 19.94°) |
| OKLab | oklab(60.39% 0.014 0.0044) |
| OKLCH | oklch(60.39% 0.015 17.5) |
| XYZ | xyz(21.7076, 21.8317, 22.8050) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 5.34
Gray
#808080
ΔE00 6.08
Medium Grey
#7D7F7C
ΔE00 8.25
Reddish Grey
#997570
ΔE00 9.03
Taupe
#8B7D6B
ΔE00 9.23
Purpley Grey
#947E94
ΔE00 10.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7E7E #7E8A8A
analogous
#8A7E84 #8A7E7E #8A847E
triadic
#8A7E7E #7E8A7E #7E7E8A
tetradic
#8A7E7E #848A7E #7E8A8A #847E8A
square
#8A7E7E #848A7E #7E8A8A #847E8A
split-complementary
#8A7E7E #7E8A84 #7E848A
monochromatic
#4A4343 #6A6060 #8A7E7E #A79E9E #C4BEBE
Accessibility & contrast
On white
3.91
#8A7E7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8A7E7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7E7E
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7E7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7E7E | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#8D7D7E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8a7e7e; /* rgb */ color: rgb(138, 126, 126); /* oklch */ color: oklch(60.4% 0.015 17.5);
Tailwind
colors: {
custom: {
50: '#aca3a3',
500: '#8a7e7e',
950: '#000000',
},
}SCSS
$custom: #8a7e7e; $custom-light: #aca3a3; $custom-dark: #000000;
JSON
{
"hex": "#8a7e7e",
"rgb": {
"r": 138,
"g": 126,
"b": 126
},
"hsl": {
"h": 0,
"s": 4.878,
"l": 51.765
},
"oklch": {
"l": 0.60387,
"c": 0.01469,
"h": 17.5
},
"luminance": 0.21831
}Semantic roles & 50–950 ramp
primary
#8A7E7E
secondary
#AFB5B5
accent
#AEAE7A
background
#FAFAFA
surface
#F4F3F3
border
#CECDCD
text
#100F0F
muted
#7F7F7F