#8A7C7E#8A7C7E
#8A7C7E is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 60.0% C 0.017 H 7.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7C7E |
|---|---|
| RGB | rgb(138, 124, 126) |
| HSL | hsl(351, 6%, 51%) |
| HSV | hsv(351, 10%, 54%) |
| CMYK | cmyk(0%, 10.1%, 8.7%, 45.9%) |
| CIE-LAB | lab(53.30, 5.71, 0.86) |
| CIE-LCH | lch(53.30, 5.78, 8.58°) |
| OKLab | oklab(59.96% 0.0173 0.0024) |
| OKLCH | oklch(59.96% 0.017 7.8) |
| XYZ | xyz(21.4544, 21.3253, 22.7206) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 6.57
Gray
#808080
ΔE00 7.22
Reddish Grey
#997570
ΔE00 8.35
Purpley Grey
#947E94
ΔE00 9.24
Medium Grey
#7D7F7C
ΔE00 9.60
Purple Grey
#866F85
ΔE00 9.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7C7E #7C8A88
analogous
#8A7C85 #8A7C7E #8A817C
triadic
#8A7C7E #7E8A7C #7C7E8A
tetradic
#8A7C7E #858A7C #7C8A88 #817C8A
square
#8A7C7E #858A7C #7C8A88 #817C8A
split-complementary
#8A7C7E #7C8A81 #7C858A
monochromatic
#4A4243 #6A5F60 #8A7C7E #A79C9E #C4BDBE
Accessibility & contrast
On white
3.99
#8A7C7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8A7C7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7C7E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7C7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7C7E | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7E7E
Deuteranopia (green-blind)
#81807E
Tritanopia (blue-blind)
#8D7B7D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a7c7e; /* rgb */ color: rgb(138, 124, 126); /* oklch */ color: oklch(60.0% 0.017 7.8);
Tailwind
colors: {
custom: {
50: '#aca1a3',
500: '#8a7c7e',
950: '#000000',
},
}SCSS
$custom: #8a7c7e; $custom-light: #aca1a3; $custom-dark: #000000;
JSON
{
"hex": "#8a7c7e",
"rgb": {
"r": 138,
"g": 124,
"b": 126
},
"hsl": {
"h": 351.429,
"s": 5.645,
"l": 51.373
},
"oklch": {
"l": 0.59961,
"c": 0.01741,
"h": 7.8
},
"luminance": 0.21325
}Semantic roles & 50–950 ramp
primary
#8A7C7E
secondary
#AEB4B3
accent
#AFA779
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100F0F
muted
#7F7E7F