#8E787A#8E787A
#8E787A is a mid, muted red. Relative luminance 0.206; OKLCH L 59.4% C 0.027 H 11.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8E787A |
|---|---|
| RGB | rgb(142, 120, 122) |
| HSL | hsl(355, 9%, 51%) |
| HSV | hsv(355, 15%, 56%) |
| CMYK | cmyk(0%, 15.5%, 14.1%, 44.3%) |
| CIE-LAB | lab(52.50, 8.86, 2.08) |
| CIE-LCH | lch(52.50, 9.10, 13.20°) |
| OKLab | oklab(59.39% 0.0269 0.0056) |
| OKLCH | oklch(59.39% 0.027 11.8) |
| XYZ | xyz(21.3845, 20.5895, 21.2563) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | neutral |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 5.52
Warm Grey
#978A84
ΔE00 8.44
Purpley Grey
#947E94
ΔE00 8.69
Purple Grey
#866F85
ΔE00 8.81
Gray
#808080
ΔE00 10.37
Purplish Grey
#7A687F
ΔE00 10.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E787A #788E8C
analogous
#8E7885 #8E787A #8E8178
triadic
#8E787A #7A8E78 #787A8E
tetradic
#8E787A #858E78 #788E8C #81788E
square
#8E787A #858E78 #788E8C #81788E
split-complementary
#8E787A #788E81 #78858E
monochromatic
#4C4041 #6D5B5D #8E787A #AA999B #C6BBBC
Accessibility & contrast
On white
4.10
#8E787A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8E787A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E787A
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E787A | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7B7A
Deuteranopia (green-blind)
#807F7A
Tritanopia (blue-blind)
#937679
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e787a; /* rgb */ color: rgb(142, 120, 122); /* oklch */ color: oklch(59.4% 0.027 11.8);
Tailwind
colors: {
custom: {
50: '#af9fa0',
500: '#8e787a',
950: '#000000',
},
}SCSS
$custom: #8e787a; $custom-light: #af9fa0; $custom-dark: #000000;
JSON
{
"hex": "#8e787a",
"rgb": {
"r": 142,
"g": 120,
"b": 122
},
"hsl": {
"h": 354.545,
"s": 8.871,
"l": 51.373
},
"oklch": {
"l": 0.59386,
"c": 0.02749,
"h": 11.8
},
"luminance": 0.20589
}Semantic roles & 50–950 ramp
primary
#8E787A
secondary
#ACB6B5
accent
#B2AC76
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E