#987A7C color

#987A7C rgb(152, 122, 124)
Shades of gray

The hex color #987A7C is a grayish red.

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

Its hue angle is 356°, 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.1 ΔE, a small difference.

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

#987A7C color codes

HEX#987A7C
RGBrgb(152, 122, 124)
RGB percentrgb(59.6%, 47.8%, 48.6%)
HSLhsl(356, 13%, 54%)
HSV / HSBhsv(356, 20%, 60%)
CMYKcmyk(0%, 20%, 18%, 40%)
CIE LABlab(54.08, 11.95, 3.33)
CIE LCHlch(54.08, 12.41, 15.55)
CIE XYZxyz(23.547, 22.051, 22.081)
Decimal9992828
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #987A7C, 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 #987A7CRatioAAAAAAA large
Sample text5.41:1PassFailPass
Sample text3.88:1FailFailPass
#987A7C as text onRatioAAAAAAA large
Sample text3.88:1FailFailPass
Sample text5.41: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 #987A7C looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Mocha.

Questions

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