#878B98 color
The hex color #878B98 is a gray.
In the RGB color model it is made of 52.9% red, 54.5% green and 59.6% blue (135, 139, 152).
Its hue angle is 226°, with 8% saturation and 56% lightness. For print, the CMYK equivalent is 11% cyan, 9% magenta, 0% yellow and 40% black.
The closest named color is Roman Silver (#838996), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.18:1).
#878B98 color codes
| HEX | #878B98 | |
|---|---|---|
| RGB | rgb(135, 139, 152) | |
| RGB percent | rgb(52.9%, 54.5%, 59.6%) | |
| HSL | hsl(226, 8%, 56%) | |
| HSV / HSB | hsv(226, 11%, 60%) | |
| CMYK | cmyk(11%, 9%, 0%, 40%) | |
| CIE LAB | lab(57.93, 1.25, -7.4) | |
| CIE LCH | lch(57.93, 7.51, 279.55) | |
| CIE XYZ | xyz(24.891, 25.883, 33.384) | |
| Decimal | 8883096 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878B98, 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 #878B98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.18:1 | Pass | Fail | Pass |
| Sample text | 3.4:1 | Fail | Fail | Pass |
| #878B98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.18: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 #878B98 looks to people with the most common types of color vision deficiency.
#888c99Protanopia
no red cones#868b98Deuteranopia
no green cones#838d8fTritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #878b98; }
.text { color: #878b98; }
.border { border: 2px solid #878b98; }
.transparent { background-color: rgb(135 139 152 / 50%); }
.gradient { background: linear-gradient(to right, #878b98, #8c8798); }
Similar colors
#838996Roman Silver#7f8793Sea Lion#888899Dusty Chimney#7e8590Smoky Studio#898c92Nuts and Bolts#84838eIn the Twilight#848393Mecha Metal#9596a4Too Big to Whale
Closest common color name: Light Slate Gray.
Questions
- What color is #878B98?
- #878B98 is a gray, closest to the named color Roman Silver. It belongs to the gray family of colors.
- What is the RGB value of #878B98?
- The RGB value is 135, 139, 152: 135 red, 139 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #878B98?
- The complementary color is #989487, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878B98?
- Black text. Black text has a contrast ratio of 6.18:1 and white text 3.4:1. WCAG asks for at least 4.5:1 for normal text.