#987A79#987A79
#987A79 is a mid, muted red. Relative luminance 0.220; OKLCH L 60.8% C 0.038 H 20.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #987A79 |
|---|---|
| RGB | rgb(152, 122, 121) |
| HSL | hsl(2, 13%, 54%) |
| HSV | hsv(2, 20%, 60%) |
| CMYK | cmyk(0%, 19.7%, 20.4%, 40.4%) |
| CIE-LAB | lab(54.00, 11.46, 4.96) |
| CIE-LCH | lch(54.00, 12.49, 23.40°) |
| OKLab | oklab(60.78% 0.0352 0.0131) |
| OKLCH | oklch(60.78% 0.038 20.5) |
| XYZ | xyz(23.3597, 21.9758, 21.0967) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 2.92
Warm Grey
#978A84
ΔE00 8.85
Rosybrown
#BC8F8F
ΔE00 9.54
Purpley Grey
#947E94
ΔE00 9.92
Mauve (survey)
#AE7181
ΔE00 9.92
Pinkish Brown
#B17261
ΔE00 10.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#987A79 #799798
analogous
#987987 #987A79 #988979
triadic
#987A79 #79987A #7A7998
tetradic
#987A79 #879879 #799798 #897998
square
#987A79 #879879 #799798 #897998
split-complementary
#987A79 #799889 #798798
monochromatic
#554241 #785D5C #987A79 #B39C9C #CDBFBE
Accessibility & contrast
On white
3.89
#987A79 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#987A79 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #987A79
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##987A79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##987A79 | 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)
#7F7E79
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#9F777A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #987a79; /* rgb */ color: rgb(152, 122, 121); /* oklch */ color: oklch(60.8% 0.038 20.5);
Tailwind
colors: {
custom: {
50: '#b6a09f',
500: '#987a79',
950: '#000000',
},
}SCSS
$custom: #987a79; $custom-light: #b6a09f; $custom-dark: #000000;
JSON
{
"hex": "#987a79",
"rgb": {
"r": 152,
"g": 122,
"b": 121
},
"hsl": {
"h": 1.935,
"s": 13.08,
"l": 53.529
},
"oklch": {
"l": 0.60781,
"c": 0.03753,
"h": 20.5
},
"luminance": 0.21975
}Semantic roles & 50–950 ramp
primary
#987A79
secondary
#B0BDBD
accent
#B4B672
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#110E0E
muted
#807E7E