#87878C color

#87878C rgb(135, 135, 140)
Shades of gray

The hex color #87878C is a gray.

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

Its hue angle is 240°, with 2% saturation and 54% lightness. For print, the CMYK equivalent is 4% cyan, 4% magenta, 0% yellow and 45% black.

The closest named color is Lunar Outpost (#828287), a difference of 1.8 ΔE, which is barely visible.

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

#87878C color codes

HEX#87878C
RGBrgb(135, 135, 140)
RGB percentrgb(52.9%, 52.9%, 54.9%)
HSLhsl(240, 2%, 54%)
HSV / HSBhsv(240, 4%, 55%)
CMYKcmyk(4%, 4%, 0%, 45%)
CIE LABlab(56.46, 1, -2.67)
CIE LCHlch(56.46, 2.86, 290.51)
CIE XYZxyz(23.388, 24.372, 28.278)
Decimal8882060
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #87878C, 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 #87878CRatioAAAAAAA large
Sample text5.87:1PassFailPass
Sample text3.57:1FailFailPass
#87878C as text onRatioAAAAAAA large
Sample text3.57:1FailFailPass
Sample text5.87: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 #87878C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #87878c; }
.text { color: #87878c; }
.border { border: 2px solid #87878c; }
.transparent { background-color: rgb(135 135 140 / 50%); }
.gradient { background: linear-gradient(to right, #87878c, #8a878c); }
Background
Text color
Border

Similar colors

Closest common color name: Gray.

Questions

What color is #87878C?
#87878C is a gray, closest to the named color Lunar Outpost. It belongs to the gray family of colors.
What is the RGB value of #87878C?
The RGB value is 135, 135, 140: 135 red, 135 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #87878C?
The complementary color is #8C8C87, found by rotating the hue 180° on the color wheel.
Is black or white text better on #87878C?
Black text. Black text has a contrast ratio of 5.87:1 and white text 3.57:1. WCAG asks for at least 4.5:1 for normal text.