#878080 color

#878080 rgb(135, 128, 128)
Shades of gray

The hex color #878080 is a gray.

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

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

The closest named color is Detective Coat (#8B8685), a difference of 2.4 ΔE, a small difference.

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

#878080 color codes

HEX#878080
RGBrgb(135, 128, 128)
RGB percentrgb(52.9%, 50.2%, 50.2%)
HSLhsl(0, 3%, 52%)
HSV / HSBhsv(0, 5%, 53%)
CMYKcmyk(0%, 5%, 5%, 47%)
CIE LABlab(54.18, 2.64, 0.95)
CIE LCHlch(54.18, 2.8, 19.71)
CIE XYZxyz(21.607, 22.148, 23.555)
Decimal8880256
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #878080?
#878080 is a gray, closest to the named color Detective Coat. It belongs to the gray family of colors.
What is the RGB value of #878080?
The RGB value is 135, 128, 128: 135 red, 128 green and 128 blue on a 0 to 255 scale.
What is the complementary color of #878080?
The complementary color is #808787, found by rotating the hue 180° on the color wheel.
Is black or white text better on #878080?
Black text. Black text has a contrast ratio of 5.43:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.