#878F7C color
The hex color #878F7C is a gray.
In the RGB color model it is made of 52.9% red, 56.1% green and 48.6% blue (135, 143, 124).
Its hue angle is 85°, with 8% saturation and 52% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 13% yellow and 44% black.
The closest named color is Aloe Tip (#8A9480), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.25:1).
#878F7C color codes
| HEX | #878F7C | |
|---|---|---|
| RGB | rgb(135, 143, 124) | |
| RGB percent | rgb(52.9%, 56.1%, 48.6%) | |
| HSL | hsl(85, 8%, 52%) | |
| HSV / HSB | hsv(85, 13%, 56%) | |
| CMYK | cmyk(6%, 0%, 13%, 44%) | |
| CIE LAB | lab(58.27, -6.54, 9.13) | |
| CIE LCH | lch(58.27, 11.23, 125.64) | |
| CIE XYZ | xyz(23.452, 26.251, 22.896) | |
| Decimal | 8884092 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878F7C, 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 #878F7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.25:1 | Pass | Fail | Pass |
| Sample text | 3.36:1 | Fail | Fail | Pass |
| #878F7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.36:1 | Fail | Fail | Pass |
| Sample text | 6.25: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 #878F7C looks to people with the most common types of color vision deficiency.
#918c7bProtanopia
no red cones#908c7dDeuteranopia
no green cones#888d8aTritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #878f7c; }
.text { color: #878f7c; }
.border { border: 2px solid #878f7c; }
.transparent { background-color: rgb(135 143 124 / 50%); }
.gradient { background: linear-gradient(to right, #878f7c, #7e8f7c); }
Similar colors
#8a9480Aloe Tip#8f917cFarmer’s Market#7d8878Majestic Evergreen#93977fSwamp Sessions#828e84Mummy’s Tomb#888877Kosher Khaki#8f9779Artichoke#919c81Whispering Willow
Closest common color name: Warm Gray.
Questions
- What color is #878F7C?
- #878F7C is a gray, closest to the named color Aloe Tip. It belongs to the gray family of colors.
- What is the RGB value of #878F7C?
- The RGB value is 135, 143, 124: 135 red, 143 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #878F7C?
- The complementary color is #847C8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878F7C?
- 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.