#817F89 color
The hex color #817F89 is a gray.
In the RGB color model it is made of 50.6% red, 49.8% green and 53.7% blue (129, 127, 137).
Its hue angle is 252°, with 4% saturation and 52% lightness. For print, the CMYK equivalent is 6% cyan, 7% magenta, 0% yellow and 46% black.
The closest named color is Silver Surfer (#7E7D88), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.33:1).
#817F89 color codes
| HEX | #817F89 | |
|---|---|---|
| RGB | rgb(129, 127, 137) | |
| RGB percent | rgb(50.6%, 49.8%, 53.7%) | |
| HSL | hsl(252, 4%, 52%) | |
| HSV / HSB | hsv(252, 7%, 54%) | |
| CMYK | cmyk(6%, 7%, 0%, 46%) | |
| CIE LAB | lab(53.66, 2.78, -5.13) | |
| CIE LCH | lch(53.66, 5.84, 298.48) | |
| CIE XYZ | xyz(21.157, 21.652, 26.727) | |
| Decimal | 8486793 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #817F89, 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 #817F89 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.33:1 | Pass | Fail | Pass |
| Sample text | 3.94:1 | Fail | Fail | Pass |
| #817F89 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.94:1 | Fail | Fail | Pass |
| Sample text | 5.33: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 #817F89 looks to people with the most common types of color vision deficiency.
#7d8089Protanopia
no red cones#7d8089Deuteranopia
no green cones#808082Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #817f89; }
.text { color: #817f89; }
.border { border: 2px solid #817f89; }
.transparent { background-color: rgb(129 127 137 / 50%); }
.gradient { background: linear-gradient(to right, #817f89, #867f89); }
Similar colors
#7e7d88Silver Surfer#84838eIn the Twilight#848393Mecha Metal#828287Lunar Outpost#888899Dusty Chimney#81777fChain Mail#7e8590Smoky Studio#747a8aAbandoned Spaceship
Closest common color name: Gray.
Questions
- What color is #817F89?
- #817F89 is a gray, closest to the named color Silver Surfer. It belongs to the gray family of colors.
- What is the RGB value of #817F89?
- The RGB value is 129, 127, 137: 129 red, 127 green and 137 blue on a 0 to 255 scale.
- What is the complementary color of #817F89?
- The complementary color is #87897F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #817F89?
- Black text. Black text has a contrast ratio of 5.33:1 and white text 3.94:1. WCAG asks for at least 4.5:1 for normal text.