#987A7D color

#987A7D rgb(152, 122, 125)
Shades of gray

The hex color #987A7D is a grayish red.

In the RGB color model it is made of 59.6% red, 47.8% green and 49% blue (152, 122, 125).

Its hue angle is 354°, with 13% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 18% yellow and 40% black.

The closest named color is Opium (#987E7E), a difference of 2.3 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.42:1).

#987A7D color codes

HEX#987A7D
RGBrgb(152, 122, 125)
RGB percentrgb(59.6%, 47.8%, 49%)
HSLhsl(354, 13%, 54%)
HSV / HSBhsv(354, 20%, 60%)
CMYKcmyk(0%, 20%, 18%, 40%)
CIE LABlab(54.11, 12.12, 2.78)
CIE LCHlch(54.11, 12.44, 12.92)
CIE XYZxyz(23.61, 22.076, 22.415)
Decimal9992829
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #987A7D, 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 #987A7DRatioAAAAAAA large
Sample text5.42:1PassFailPass
Sample text3.88:1FailFailPass
#987A7D as text onRatioAAAAAAA large
Sample text3.88:1FailFailPass
Sample text5.42:1PassFailPass

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 #987A7D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #987a7d; }
.text { color: #987a7d; }
.border { border: 2px solid #987a7d; }
.transparent { background-color: rgb(152 122 125 / 50%); }
.gradient { background: linear-gradient(to right, #987a7d, #98867a); }
Background
Text color
Border

Similar colors

Closest common color name: Mocha.

Questions

What color is #987A7D?
#987A7D is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
What is the RGB value of #987A7D?
The RGB value is 152, 122, 125: 152 red, 122 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #987A7D?
The complementary color is #7A9895, found by rotating the hue 180° on the color wheel.
Is black or white text better on #987A7D?
Black text. Black text has a contrast ratio of 5.42:1 and white text 3.88:1. WCAG asks for at least 4.5:1 for normal text.