#987A7E#987A7E
#987A7E is a mid, muted red. Relative luminance 0.221; OKLCH L 60.9% C 0.038 H 9.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #987A7E |
|---|---|
| RGB | rgb(152, 122, 126) |
| HSL | hsl(352, 13%, 54%) |
| HSV | hsv(352, 20%, 60%) |
| CMYK | cmyk(0%, 19.7%, 17.1%, 40.4%) |
| CIE-LAB | lab(54.13, 12.29, 2.24) |
| CIE-LCH | lch(54.13, 12.49, 10.32°) |
| OKLab | oklab(60.93% 0.0372 0.0061) |
| OKLCH | oklch(60.93% 0.038 9.2) |
| XYZ | xyz(23.6743, 22.1017, 22.7536) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 4.67
Purpley Grey
#947E94
ΔE00 7.82
Mauve (survey)
#AE7181
ΔE00 8.69
Purple Grey
#866F85
ΔE00 8.85
Rosybrown
#BC8F8F
ΔE00 9.53
Warm Grey
#978A84
ΔE00 9.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A7E #7A9894
analogous
#987A8D #987A7E #98857A
triadic
#987A7E #7E987A #7A7E98
tetradic
#987A7E #8D987A #7A9894 #857A98
square
#987A7E #8D987A #7A9894 #857A98
split-complementary
#987A7E #7A9885 #7A8D98
monochromatic
#554245 #785D60 #987A7E #B39C9F #CDBFC1
Accessibility & contrast
On white
3.87
#987A7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#987A7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A7E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A7E | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7E7E
Deuteranopia (green-blind)
#85837D
Tritanopia (blue-blind)
#9E787B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987a7e; /* rgb */ color: rgb(152, 122, 126); /* oklch */ color: oklch(60.9% 0.038 9.2);
Tailwind
colors: {
custom: {
50: '#b6a0a3',
500: '#987a7e',
950: '#000000',
},
}SCSS
$custom: #987a7e; $custom-light: #b6a0a3; $custom-dark: #000000;
JSON
{
"hex": "#987a7e",
"rgb": {
"r": 152,
"g": 122,
"b": 126
},
"hsl": {
"h": 352,
"s": 12.712,
"l": 53.725
},
"oklch": {
"l": 0.60929,
"c": 0.0377,
"h": 9.2
},
"luminance": 0.22101
}Semantic roles & 50–950 ramp
primary
#987A7E
secondary
#B0BDBC
accent
#B6AD72
background
#FBF9FA
surface
#F6F2F3
border
#D0CCCD
text
#110E0F
muted
#807E7F