#987D7D color
The hex color #987D7D is a grayish red.
In the RGB color model it is made of 59.6% red, 49% green and 49% blue (152, 125, 125).
Its hue angle is 0°, with 12% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 18% magenta, 18% yellow and 40% black.
The closest named color is Opium (#987E7E), a difference of 0.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.56:1).
#987D7D color codes
| HEX | #987D7D | |
|---|---|---|
| RGB | rgb(152, 125, 125) | |
| RGB percent | rgb(59.6%, 49%, 49%) | |
| HSL | hsl(0, 12%, 54%) | |
| HSV / HSB | hsv(0, 18%, 60%) | |
| CMYK | cmyk(0%, 18%, 18%, 40%) | |
| CIE LAB | lab(54.89, 10.4, 3.91) | |
| CIE LCH | lch(54.89, 11.11, 20.63) | |
| CIE XYZ | xyz(23.984, 22.824, 22.54) | |
| Decimal | 9993597 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #987D7D, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #987D7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.56:1 | Pass | Fail | Pass |
| Sample text | 3.77:1 | Fail | Fail | Pass |
| #987D7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.77:1 | Fail | Fail | Pass |
| Sample text | 5.56:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #987D7D looks to people with the most common types of color vision deficiency.
#82807dProtanopia
no red cones#88857dDeuteranopia
no green cones#9e7b7dTritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #987d7d; }
.text { color: #987d7d; }
.border { border: 2px solid #987d7d; }
.transparent { background-color: rgb(152 125 125 / 50%); }
.gradient { background: linear-gradient(to right, #987d7d, #988b7d); }
Similar colors
#987e7eOpium#8f7f85Mighty Mauve#987d73Hemp#a48a80Earthbound#9e7b6cWoodhaven#a07569Equestrienne#9b8b84Ruins of Metal#8b7e77Hurricane
Closest common color name: Mocha.
Questions
- What color is #987D7D?
- #987D7D is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
- What is the RGB value of #987D7D?
- The RGB value is 152, 125, 125: 152 red, 125 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #987D7D?
- The complementary color is #7D9898, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #987D7D?
- Black text. Black text has a contrast ratio of 5.56:1 and white text 3.77:1. WCAG asks for at least 4.5:1 for normal text.