#987D7D#987D7D
#987D7D is a mid, muted red. Relative luminance 0.228; OKLCH L 61.5% C 0.033 H 18.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #987D7D |
|---|---|
| RGB | rgb(152, 125, 125) |
| HSL | hsl(0, 12%, 54%) |
| HSV | hsv(0, 18%, 60%) |
| CMYK | cmyk(0%, 17.8%, 17.8%, 40.4%) |
| CIE-LAB | lab(54.89, 10.40, 3.91) |
| CIE-LCH | lch(54.89, 11.11, 20.63°) |
| OKLab | oklab(61.51% 0.0318 0.0104) |
| OKLCH | oklch(61.51% 0.033 18.1) |
| XYZ | xyz(23.9842, 22.8241, 22.5402) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | neutral |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 4.27
Warm Grey
#978A84
ΔE00 7.83
Purpley Grey
#947E94
ΔE00 9.22
Rosybrown
#BC8F8F
ΔE00 9.29
Mauve (survey)
#AE7181
ΔE00 10.50
Purple Grey
#866F85
ΔE00 10.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987D7D #7D9898
analogous
#987D8B #987D7D #988B7D
triadic
#987D7D #7D987D #7D7D98
tetradic
#987D7D #8B987D #7D9898 #8B7D98
square
#987D7D #8B987D #7D9898 #8B7D98
split-complementary
#987D7D #7D988B #7D8B98
monochromatic
#564444 #785F5F #987D7D #B39F9F #CEC1C1
Accessibility & contrast
On white
3.77
#987D7D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#987D7D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987D7D
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987D7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987D7D | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82807D
Deuteranopia (green-blind)
#88857D
Tritanopia (blue-blind)
#9E7B7D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #987d7d; /* rgb */ color: rgb(152, 125, 125); /* oklch */ color: oklch(61.5% 0.033 18.1);
Tailwind
colors: {
custom: {
50: '#b6a2a2',
500: '#987d7d',
950: '#000000',
},
}SCSS
$custom: #987d7d; $custom-light: #b6a2a2; $custom-dark: #000000;
JSON
{
"hex": "#987d7d",
"rgb": {
"r": 152,
"g": 125,
"b": 125
},
"hsl": {
"h": 0,
"s": 11.588,
"l": 54.314
},
"oklch": {
"l": 0.61508,
"c": 0.03349,
"h": 18.1
},
"luminance": 0.22823
}Semantic roles & 50–950 ramp
primary
#987D7D
secondary
#B3BEBE
accent
#B4B473
background
#FBFAF9
surface
#F6F3F2
border
#D0CDCC
text
#110F0F
muted
#807F7E