#987A7C#987A7C
#987A7C is a mid, muted red. Relative luminance 0.221; OKLCH L 60.9% C 0.037 H 13.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #987A7C |
|---|---|
| RGB | rgb(152, 122, 124) |
| HSL | hsl(356, 13%, 54%) |
| HSV | hsv(356, 20%, 60%) |
| CMYK | cmyk(0%, 19.7%, 18.4%, 40.4%) |
| CIE-LAB | lab(54.08, 11.95, 3.33) |
| CIE-LCH | lch(54.08, 12.41, 15.55°) |
| OKLab | oklab(60.87% 0.0364 0.0089) |
| OKLCH | oklch(60.87% 0.037 13.7) |
| XYZ | xyz(23.5466, 22.0506, 22.0807) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 3.91
Purpley Grey
#947E94
ΔE00 8.64
Mauve (survey)
#AE7181
ΔE00 9.12
Warm Grey
#978A84
ΔE00 9.45
Rosybrown
#BC8F8F
ΔE00 9.46
Purple Grey
#866F85
ΔE00 9.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A7C #7A9896
analogous
#987A8B #987A7C #98877A
triadic
#987A7C #7C987A #7A7C98
tetradic
#987A7C #8B987A #7A9896 #877A98
square
#987A7C #8B987A #7A9896 #877A98
split-complementary
#987A7C #7A9887 #7A8B98
monochromatic
#554243 #785D5F #987A7C #B39C9E #CDBFC0
Accessibility & contrast
On white
3.88
#987A7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#987A7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A7C
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A7C | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7E7C
Deuteranopia (green-blind)
#86837C
Tritanopia (blue-blind)
#9E787B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987a7c; /* rgb */ color: rgb(152, 122, 124); /* oklch */ color: oklch(60.9% 0.037 13.7);
Tailwind
colors: {
custom: {
50: '#b6a0a1',
500: '#987a7c',
950: '#000000',
},
}SCSS
$custom: #987a7c; $custom-light: #b6a0a1; $custom-dark: #000000;
JSON
{
"hex": "#987a7c",
"rgb": {
"r": 152,
"g": 122,
"b": 124
},
"hsl": {
"h": 356,
"s": 12.712,
"l": 53.725
},
"oklch": {
"l": 0.60869,
"c": 0.03746,
"h": 13.7
},
"luminance": 0.2205
}Semantic roles & 50–950 ramp
primary
#987A7C
secondary
#B0BDBC
accent
#B6B172
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0F
muted
#807E7E