#AA87A2 color
The hex color #AA87A2 is a grayish magenta.
In the RGB color model it is made of 66.7% red, 52.9% green and 63.5% blue (170, 135, 162).
Its hue angle is 314°, with 17% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 5% yellow and 33% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.7:1).
#AA87A2 color codes
| HEX | #AA87A2 | |
|---|---|---|
| RGB | rgb(170, 135, 162) | |
| RGB percent | rgb(66.7%, 52.9%, 63.5%) | |
| HSL | hsl(314, 17%, 60%) | |
| HSV / HSB | hsv(314, 21%, 67%) | |
| CMYK | cmyk(0%, 21%, 5%, 33%) | |
| CIE LAB | lab(60.32, 17.99, -9.22) | |
| CIE LCH | lch(60.32, 20.22, 332.87) | |
| CIE XYZ | xyz(31.763, 28.483, 38) | |
| Decimal | 11175842 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AA87A2, 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 #AA87A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.7:1 | Pass | Fail | Pass |
| Sample text | 3.14:1 | Fail | Fail | Pass |
| #AA87A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.7: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 #AA87A2 looks to people with the most common types of color vision deficiency.
#878ea3Protanopia
no red cones#8f93a1Deuteranopia
no green cones#ae8890Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #aa87a2; }
.text { color: #aa87a2; }
.border { border: 2px solid #aa87a2; }
.transparent { background-color: rgb(170 135 162 / 50%); }
.gradient { background: linear-gradient(to right, #aa87a2, #aa8790); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#967d96Amorous#b97da8Romanov Mauve#bb99bbDripping Wisteria#95859cHatoba Pigeon#bf90bbLa la Love
Closest common color name: Pastel Purple.
Questions
- What color is #AA87A2?
- #AA87A2 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AA87A2?
- The RGB value is 170, 135, 162: 170 red, 135 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #AA87A2?
- The complementary color is #87AA8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AA87A2?
- Black text. Black text has a contrast ratio of 6.7:1 and white text 3.14:1. WCAG asks for at least 4.5:1 for normal text.