#AA7DAC color
The hex color #AA7DAC is a grayish magenta.
In the RGB color model it is made of 66.7% red, 49% green and 67.5% blue (170, 125, 172).
Its hue angle is 297°, with 22% saturation and 58% lightness. For print, the CMYK equivalent is 1% cyan, 27% magenta, 0% yellow and 33% black.
The closest named color is Heart Potion (#A97FB1), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.24:1).
#AA7DAC color codes
| HEX | #AA7DAC | |
|---|---|---|
| RGB | rgb(170, 125, 172) | |
| RGB percent | rgb(66.7%, 49%, 67.5%) | |
| HSL | hsl(297, 22%, 58%) | |
| HSV / HSB | hsv(297, 27%, 67%) | |
| CMYK | cmyk(1%, 27%, 0%, 33%) | |
| CIE LAB | lab(58.22, 25.58, -18.11) | |
| CIE LCH | lch(58.22, 31.34, 324.69) | |
| CIE XYZ | xyz(31.357, 26.193, 42.426) | |
| Decimal | 11173292 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AA7DAC, 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 #AA7DAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.24:1 | Pass | Fail | Pass |
| Sample text | 3.37:1 | Fail | Fail | Pass |
| #AA7DAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.37:1 | Fail | Fail | Pass |
| Sample text | 6.24: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 #AA7DAC looks to people with the most common types of color vision deficiency.
#7989aeProtanopia
no red cones#848eaaDeuteranopia
no green cones#ac818eTritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #aa7dac; }
.text { color: #aa7dac; }
.border { border: 2px solid #aa7dac; }
.transparent { background-color: rgb(170 125 172 / 50%); }
.gradient { background: linear-gradient(to right, #aa7dac, #ac7d97); }
Similar colors
#a97fb1Heart Potion#ab7cb4Berries Galore#b97da8Romanov Mauve#a37298Drama Queen#af8ba8Voila!#b090b2Metal Petal#bf90bbLa la Love#bf8fc4Violaceous
Closest common color name: Lavender Purple.
Questions
- What color is #AA7DAC?
- #AA7DAC is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
- What is the RGB value of #AA7DAC?
- The RGB value is 170, 125, 172: 170 red, 125 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #AA7DAC?
- The complementary color is #7FAC7D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AA7DAC?
- Black text. Black text has a contrast ratio of 6.24:1 and white text 3.37:1. WCAG asks for at least 4.5:1 for normal text.