#8A7A7A#8A7A7A
#8A7A7A is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.4% C 0.020 H 17.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7A7A |
|---|---|
| RGB | rgb(138, 122, 122) |
| HSL | hsl(0, 6%, 51%) |
| HSV | hsv(0, 12%, 54%) |
| CMYK | cmyk(0%, 11.6%, 11.6%, 45.9%) |
| CIE-LAB | lab(52.65, 6.14, 2.25) |
| CIE-LCH | lch(52.65, 6.54, 20.13°) |
| OKLab | oklab(59.41% 0.0188 0.006) |
| OKLCH | oklch(59.41% 0.02 17.7) |
| XYZ | xyz(20.9534, 20.7279, 21.3057) |
| Luminance | 0.2073 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 6.67
Reddish Grey
#997570
ΔE00 7.30
Gray
#808080
ΔE00 7.87
Taupe
#8B7D6B
ΔE00 9.86
Medium Grey
#7D7F7C
ΔE00 10.03
Purpley Grey
#947E94
ΔE00 10.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7A7A #7A8A8A
analogous
#8A7A82 #8A7A7A #8A827A
triadic
#8A7A7A #7A8A7A #7A7A8A
tetradic
#8A7A7A #828A7A #7A8A8A #827A8A
square
#8A7A7A #828A7A #7A8A8A #827A8A
split-complementary
#8A7A7A #7A8A82 #7A828A
monochromatic
#494040 #6A5D5D #8A7A7A #A79B9B #C3BBBB
Accessibility & contrast
On white
4.08
#8A7A7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8A7A7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7A7A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7A7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7A7A | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7C7A
Deuteranopia (green-blind)
#807F7A
Tritanopia (blue-blind)
#8E797A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a7a7a; /* rgb */ color: rgb(138, 122, 122); /* oklch */ color: oklch(59.4% 0.020 17.7);
Tailwind
colors: {
custom: {
50: '#aca0a0',
500: '#8a7a7a',
950: '#000000',
},
}SCSS
$custom: #8a7a7a; $custom-light: #aca0a0; $custom-dark: #000000;
JSON
{
"hex": "#8a7a7a",
"rgb": {
"r": 138,
"g": 122,
"b": 122
},
"hsl": {
"h": 0,
"s": 6.4,
"l": 50.98
},
"oklch": {
"l": 0.59414,
"c": 0.01978,
"h": 17.7
},
"luminance": 0.20727
}Semantic roles & 50–950 ramp
primary
#8A7A7A
secondary
#ACB3B3
accent
#AFAF78
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E