#87818C color
The hex color #87818C is a gray.
In the RGB color model it is made of 52.9% red, 50.6% green and 54.9% blue (135, 129, 140).
Its hue angle is 273°, with 5% saturation and 53% lightness. For print, the CMYK equivalent is 4% cyan, 8% magenta, 0% yellow and 45% black.
The closest named color is In the Twilight (#84838E), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.55:1).
#87818C color codes
| HEX | #87818C | |
|---|---|---|
| RGB | rgb(135, 129, 140) | |
| RGB percent | rgb(52.9%, 50.6%, 54.9%) | |
| HSL | hsl(273, 5%, 53%) | |
| HSV / HSB | hsv(273, 8%, 55%) | |
| CMYK | cmyk(4%, 8%, 0%, 45%) | |
| CIE LAB | lab(54.81, 4.44, -5.11) | |
| CIE LCH | lch(54.81, 6.77, 310.96) | |
| CIE XYZ | xyz(22.575, 22.745, 28.007) | |
| Decimal | 8880524 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #87818C, 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 #87818C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.55:1 | Pass | Fail | Pass |
| Sample text | 3.78:1 | Fail | Fail | Pass |
| #87818C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.78:1 | Fail | Fail | Pass |
| Sample text | 5.55: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 #87818C looks to people with the most common types of color vision deficiency.
#80838dProtanopia
no red cones#81838cDeuteranopia
no green cones#878284Tritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #87818c; }
.text { color: #87818c; }
.border { border: 2px solid #87818c; }
.transparent { background-color: rgb(135 129 140 / 50%); }
.gradient { background: linear-gradient(to right, #87818c, #8c818c); }
Similar colors
#84838eIn the Twilight#848393Mecha Metal#7e7d88Silver Surfer#81777fChain Mail#888899Dusty Chimney#828287Lunar Outpost#948593Femme Fatale#8f7f85Mighty Mauve
Closest common color name: Gray.
Questions
- What color is #87818C?
- #87818C is a gray, closest to the named color In the Twilight. It belongs to the gray family of colors.
- What is the RGB value of #87818C?
- The RGB value is 135, 129, 140: 135 red, 129 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #87818C?
- The complementary color is #868C81, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #87818C?
- Black text. Black text has a contrast ratio of 5.55:1 and white text 3.78:1. WCAG asks for at least 4.5:1 for normal text.