#878180 color
The hex color #878180 is a gray.
In the RGB color model it is made of 52.9% red, 50.6% green and 50.2% blue (135, 129, 128).
Its hue angle is 9°, with 3% saturation and 52% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 5% yellow and 47% black.
The closest named color is Detective Coat (#8B8685), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.48:1).
#878180 color codes
| HEX | #878180 | |
|---|---|---|
| RGB | rgb(135, 129, 128) | |
| RGB percent | rgb(52.9%, 50.6%, 50.2%) | |
| HSL | hsl(9, 3%, 52%) | |
| HSV / HSB | hsv(9, 5%, 53%) | |
| CMYK | cmyk(0%, 4%, 5%, 47%) | |
| CIE LAB | lab(54.46, 2.07, 1.35) | |
| CIE LCH | lch(54.46, 2.47, 33.1) | |
| CIE XYZ | xyz(21.738, 22.41, 23.598) | |
| Decimal | 8880512 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878180, 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 #878180 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.48:1 | Pass | Fail | Pass |
| Sample text | 3.83:1 | Fail | Fail | Pass |
| #878180 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.83:1 | Fail | Fail | Pass |
| Sample text | 5.48:1 | Pass | Fail | Pass |
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 #878180 looks to people with the most common types of color vision deficiency.
#828280Protanopia
no red cones#838380Deuteranopia
no green cones#898081Tritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #878180; }
.text { color: #878180; }
.border { border: 2px solid #878180; }
.transparent { background-color: rgb(135 129 128 / 50%); }
.gradient { background: linear-gradient(to right, #878180, #878580); }
Similar colors
#8b8685Detective Coat#858381Lingering Storm#827b77Mule#8e8987Chorus of Elephants#808080Gray#858585Black Mana#8b8680Petrified#848482Battleship Gray
Questions
- What color is #878180?
- #878180 is a gray, closest to the named color Detective Coat. It belongs to the gray family of colors.
- What is the RGB value of #878180?
- The RGB value is 135, 129, 128: 135 red, 129 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #878180?
- The complementary color is #808687, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878180?
- Black text. Black text has a contrast ratio of 5.48:1 and white text 3.83:1. WCAG asks for at least 4.5:1 for normal text.