#815170 color
The hex color #815170 is a grayish rose.
In the RGB color model it is made of 50.6% red, 31.8% green and 43.9% blue (129, 81, 112).
Its hue angle is 321°, with 23% saturation and 41% lightness. For print, the CMYK equivalent is 0% cyan, 37% magenta, 13% yellow and 49% black.
The closest named color is Plum Highness (#885577), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.28:1).
#815170 color codes
| HEX | #815170 | |
|---|---|---|
| RGB | rgb(129, 81, 112) | |
| RGB percent | rgb(50.6%, 31.8%, 43.9%) | |
| HSL | hsl(321, 23%, 41%) | |
| HSV / HSB | hsv(321, 37%, 51%) | |
| CMYK | cmyk(0%, 37%, 13%, 49%) | |
| CIE LAB | lab(40.77, 25.02, -9.39) | |
| CIE LCH | lch(40.77, 26.72, 339.42) | |
| CIE XYZ | xyz(14.92, 11.723, 16.803) | |
| Decimal | 8474992 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #815170, 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 #815170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.34:1 | Fail | Fail | Pass |
| Sample text | 6.28:1 | Pass | Fail | Pass |
| #815170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.28:1 | Pass | Fail | Pass |
| Sample text | 3.34:1 | Fail | 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 #815170 looks to people with the most common types of color vision deficiency.
#535c71Protanopia
no red cones#5f636fDeuteranopia
no green cones#87515cTritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #815170; }
.text { color: #815170; }
.border { border: 2px solid #815170; }
.transparent { background-color: rgb(129 81 112 / 50%); }
.gradient { background: linear-gradient(to right, #815170, #815158); }
Similar colors
#885577Plum Highness#8a5773Indian Silk#82476fGrape Kiss#784467Magician’s Cloak#7f4774Magic Magenta#78587dDr Who#6f5166Hibernation#784674Purple Passion
Closest common color name: Plum.
Questions
- What color is #815170?
- #815170 is a grayish rose, closest to the named color Plum Highness. It belongs to the pink family of colors.
- What is the RGB value of #815170?
- The RGB value is 129, 81, 112: 129 red, 81 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #815170?
- The complementary color is #518162, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #815170?
- White text. Black text has a contrast ratio of 3.34:1 and white text 6.28:1. WCAG asks for at least 4.5:1 for normal text.