#878E87 color

#878E87 rgb(135, 142, 135)
Shades of gray

The hex color #878E87 is a gray.

In the RGB color model it is made of 52.9% red, 55.7% green and 52.9% blue (135, 142, 135).

Its hue angle is 120°, with 3% saturation and 54% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 5% yellow and 44% black.

The closest named color is Mummy’s Tomb (#828E84), a difference of 2.8 ΔE, a small difference.

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

#878E87 color codes

HEX#878E87
RGBrgb(135, 142, 135)
RGB percentrgb(52.9%, 55.7%, 52.9%)
HSLhsl(120, 3%, 54%)
HSV / HSBhsv(120, 5%, 56%)
CMYKcmyk(5%, 0%, 5%, 44%)
CIE LABlab(58.27, -3.94, 2.84)
CIE LCHlch(58.27, 4.86, 144.17)
CIE XYZxyz(24.037, 26.246, 26.717)
Decimal8883847
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #878E87, 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 #878E87RatioAAAAAAA large
Sample text6.25:1PassFailPass
Sample text3.36:1FailFailPass
#878E87 as text onRatioAAAAAAA large
Sample text3.36:1FailFailPass
Sample text6.25: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 #878E87 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #878e87; }
.text { color: #878e87; }
.border { border: 2px solid #878e87; }
.transparent { background-color: rgb(135 142 135 / 50%); }
.gradient { background: linear-gradient(to right, #878e87, #878e8b); }
Background
Text color
Border

Similar colors

Closest common color name: Stone.

Questions

What color is #878E87?
#878E87 is a gray, closest to the named color Mummy’s Tomb. It belongs to the gray family of colors.
What is the RGB value of #878E87?
The RGB value is 135, 142, 135: 135 red, 142 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #878E87?
The complementary color is #8E878E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #878E87?
Black text. Black text has a contrast ratio of 6.25:1 and white text 3.36:1. WCAG asks for at least 4.5:1 for normal text.