#8E807E#8E807E
#8E807E is a mid, near-neutral grey. Relative luminance 0.227; OKLCH L 61.2% C 0.017 H 27.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E807E |
|---|---|
| RGB | rgb(142, 128, 126) |
| HSL | hsl(8, 7%, 53%) |
| HSV | hsv(8, 11%, 56%) |
| CMYK | cmyk(0%, 9.9%, 11.3%, 44.3%) |
| CIE-LAB | lab(54.76, 4.95, 3.02) |
| CIE-LCH | lch(54.76, 5.80, 31.35°) |
| OKLab | oklab(61.19% 0.0155 0.008) |
| OKLCH | oklch(61.19% 0.017 27.4) |
| XYZ | xyz(22.6401, 22.6959, 22.9227) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 4.15
Gray
#808080
ΔE00 6.89
Reddish Grey
#997570
ΔE00 8.36
Taupe
#8B7D6B
ΔE00 8.49
Medium Grey
#7D7F7C
ΔE00 8.89
Purpley Grey
#947E94
ΔE00 11.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E807E #7E8C8E
analogous
#8E7E84 #8E807E #8E887E
triadic
#8E807E #7E8E80 #807E8E
tetradic
#8E807E #848E7E #7E8C8E #887E8E
square
#8E807E #848E7E #7E8C8E #887E8E
split-complementary
#8E807E #7E8E88 #7E848E
monochromatic
#4E4544 #6E6261 #8E807E #ABA09F #C7C0BF
Accessibility & contrast
On white
3.79
#8E807E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#8E807E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E807E
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E807E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E807E | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83827E
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#927F7F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e807e; /* rgb */ color: rgb(142, 128, 126); /* oklch */ color: oklch(61.2% 0.017 27.4);
Tailwind
colors: {
custom: {
50: '#afa4a3',
500: '#8e807e',
950: '#000000',
},
}SCSS
$custom: #8e807e; $custom-light: #afa4a3; $custom-dark: #000000;
JSON
{
"hex": "#8e807e",
"rgb": {
"r": 142,
"g": 128,
"b": 126
},
"hsl": {
"h": 7.5,
"s": 6.612,
"l": 52.549
},
"oklch": {
"l": 0.61186,
"c": 0.01743,
"h": 27.4
},
"luminance": 0.22695
}Semantic roles & 50–950 ramp
primary
#8E807E
secondary
#B0B7B7
accent
#A9B078
background
#FAFAFA
surface
#F4F4F3
border
#CECECD
text
#100F0F
muted
#7F7F7F