#8A7E7C#8A7E7C
#8A7E7C is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.3% C 0.015 H 28.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7E7C |
|---|---|
| RGB | rgb(138, 126, 124) |
| HSL | hsl(9, 6%, 51%) |
| HSV | hsv(9, 10%, 54%) |
| CMYK | cmyk(0%, 8.7%, 10.1%, 45.9%) |
| CIE-LAB | lab(53.79, 4.19, 2.74) |
| CIE-LCH | lch(53.79, 5.01, 33.15°) |
| OKLab | oklab(60.33% 0.0132 0.0073) |
| OKLCH | oklch(60.33% 0.015 28.9) |
| XYZ | xyz(21.5799, 21.7806, 22.1321) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 4.81
Gray
#808080
ΔE00 5.95
Medium Grey
#7D7F7C
ΔE00 7.84
Taupe
#8B7D6B
ΔE00 8.06
Reddish Grey
#997570
ΔE00 9.00
Brownish Grey
#86775F
ΔE00 10.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7E7C #7C888A
analogous
#8A7C81 #8A7E7C #8A857C
triadic
#8A7E7C #7C8A7E #7E7C8A
tetradic
#8A7E7C #818A7C #7C888A #857C8A
square
#8A7E7C #818A7C #7C888A #857C8A
split-complementary
#8A7E7C #7C8A85 #7C818A
monochromatic
#4A4342 #6A605F #8A7E7C #A79E9C #C4BEBD
Accessibility & contrast
On white
3.92
#8A7E7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#8A7E7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7E7C
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7E7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7E7C | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#8D7D7D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8a7e7c; /* rgb */ color: rgb(138, 126, 124); /* oklch */ color: oklch(60.3% 0.015 28.9);
Tailwind
colors: {
custom: {
50: '#aca3a1',
500: '#8a7e7c',
950: '#000000',
},
}SCSS
$custom: #8a7e7c; $custom-light: #aca3a1; $custom-dark: #000000;
JSON
{
"hex": "#8a7e7c",
"rgb": {
"r": 138,
"g": 126,
"b": 124
},
"hsl": {
"h": 8.571,
"s": 5.645,
"l": 51.373
},
"oklch": {
"l": 0.60326,
"c": 0.01505,
"h": 28.9
},
"luminance": 0.2178
}Semantic roles & 50–950 ramp
primary
#8A7E7C
secondary
#AEB3B4
accent
#A7AF79
background
#FAFAF9
surface
#F4F3F2
border
#CECDCC
text
#100F0F
muted
#7F7F7E