#987A7A#987A7A
#987A7A is a mid, muted red. Relative luminance 0.220; OKLCH L 60.8% C 0.037 H 18.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #987A7A |
|---|---|
| RGB | rgb(152, 122, 122) |
| HSL | hsl(0, 13%, 54%) |
| HSV | hsv(0, 20%, 60%) |
| CMYK | cmyk(0%, 19.7%, 19.7%, 40.4%) |
| CIE-LAB | lab(54.03, 11.63, 4.42) |
| CIE-LCH | lch(54.03, 12.44, 20.80°) |
| OKLab | oklab(60.81% 0.0356 0.0117) |
| OKLCH | oklch(60.81% 0.037 18.2) |
| XYZ | xyz(23.4214, 22.0005, 21.4214) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 3.22
Warm Grey
#978A84
ΔE00 9.04
Purpley Grey
#947E94
ΔE00 9.48
Rosybrown
#BC8F8F
ΔE00 9.49
Mauve (survey)
#AE7181
ΔE00 9.63
Purple Grey
#866F85
ΔE00 10.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A7A #7A9898
analogous
#987A89 #987A7A #98897A
triadic
#987A7A #7A987A #7A7A98
tetradic
#987A7A #89987A #7A9898 #897A98
square
#987A7A #89987A #7A9898 #897A98
split-complementary
#987A7A #7A9889 #7A8998
monochromatic
#554242 #785D5D #987A7A #B39C9C #CDBFBF
Accessibility & contrast
On white
3.89
#987A7A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#987A7A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A7A
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A7A | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7E7A
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#9F777A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987a7a; /* rgb */ color: rgb(152, 122, 122); /* oklch */ color: oklch(60.8% 0.037 18.2);
Tailwind
colors: {
custom: {
50: '#b6a0a0',
500: '#987a7a',
950: '#000000',
},
}SCSS
$custom: #987a7a; $custom-light: #b6a0a0; $custom-dark: #000000;
JSON
{
"hex": "#987a7a",
"rgb": {
"r": 152,
"g": 122,
"b": 122
},
"hsl": {
"h": 0,
"s": 12.712,
"l": 53.725
},
"oklch": {
"l": 0.6081,
"c": 0.03745,
"h": 18.2
},
"luminance": 0.22
}Semantic roles & 50–950 ramp
primary
#987A7A
secondary
#B0BDBD
accent
#B6B672
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0E
muted
#807E7E