#8A807F#8A807F
#8A807F is a mid, near-neutral grey. Relative luminance 0.224; OKLCH L 60.8% C 0.012 H 24.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A807F |
|---|---|
| RGB | rgb(138, 128, 127) |
| HSL | hsl(5, 4%, 52%) |
| HSV | hsv(5, 8%, 54%) |
| CMYK | cmyk(0%, 7.2%, 8%, 45.9%) |
| CIE-LAB | lab(54.42, 3.60, 1.91) |
| CIE-LCH | lch(54.42, 4.07, 27.92°) |
| OKLab | oklab(60.85% 0.0112 0.0051) |
| OKLCH | oklch(60.85% 0.012 24.4) |
| XYZ | xyz(22.0308, 22.3742, 23.2326) |
| Luminance | 0.2237 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 4.59
Gray
#808080
ΔE00 5.13
Medium Grey
#7D7F7C
ΔE00 7.15
Taupe
#8B7D6B
ΔE00 8.49
Reddish Grey
#997570
ΔE00 9.95
Grey
#929591
ΔE00 10.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A807F #7F898A
analogous
#8A7F84 #8A807F #8A867F
triadic
#8A807F #7F8A80 #807F8A
tetradic
#8A807F #848A7F #7F898A #867F8A
square
#8A807F #848A7F #7F898A #867F8A
split-complementary
#8A807F #7F8A86 #7F848A
monochromatic
#4B4544 #6A6261 #8A807F #A7A09F #C4BFBF
Accessibility & contrast
On white
3.84
#8A807F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8A807F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A807F
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A807F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A807F | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#8D7F80
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a807f; /* rgb */ color: rgb(138, 128, 127); /* oklch */ color: oklch(60.8% 0.012 24.4);
Tailwind
colors: {
custom: {
50: '#aca4a4',
500: '#8a807f',
950: '#000000',
},
}SCSS
$custom: #8a807f; $custom-light: #aca4a4; $custom-dark: #000000;
JSON
{
"hex": "#8a807f",
"rgb": {
"r": 138,
"g": 128,
"b": 127
},
"hsl": {
"h": 5.455,
"s": 4.49,
"l": 51.961
},
"oklch": {
"l": 0.60845,
"c": 0.0123,
"h": 24.4
},
"luminance": 0.22374
}Semantic roles & 50–950 ramp
primary
#8A807F
secondary
#B0B4B5
accent
#A9AE7A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F