#AF7EA9 color
The hex color #AF7EA9 is a grayish magenta.
In the RGB color model it is made of 68.6% red, 49.4% green and 66.3% blue (175, 126, 169).
Its hue angle is 307°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 3% yellow and 31% black.
The closest named color is Romanov Mauve (#B97DA8), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.38:1).
#AF7EA9 color codes
| HEX | #AF7EA9 | |
|---|---|---|
| RGB | rgb(175, 126, 169) | |
| RGB percent | rgb(68.6%, 49.4%, 66.3%) | |
| HSL | hsl(307, 23%, 59%) | |
| HSV / HSB | hsv(307, 28%, 69%) | |
| CMYK | cmyk(0%, 28%, 3%, 31%) | |
| CIE LAB | lab(58.88, 26.15, -15.34) | |
| CIE LCH | lch(58.88, 30.32, 329.61) | |
| CIE XYZ | xyz(32.301, 26.901, 41.019) | |
| Decimal | 11501225 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF7EA9, 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 #AF7EA9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.38:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #AF7EA9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.38: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 #AF7EA9 looks to people with the most common types of color vision deficiency.
#7d8aabProtanopia
no red cones#8890a7Deuteranopia
no green cones#b3818dTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #af7ea9; }
.text { color: #af7ea9; }
.border { border: 2px solid #af7ea9; }
.transparent { background-color: rgb(175 126 169 / 50%); }
.gradient { background: linear-gradient(to right, #af7ea9, #af7e90); }
Similar colors
#b97da8Romanov Mauve#a97fb1Heart Potion#ab7cb4Berries Galore#a37298Drama Queen#af8ba8Voila!#bf90bbLa la Love#b090b2Metal Petal#bf91b2Mauve Magic
Closest common color name: Lavender Purple.
Questions
- What color is #AF7EA9?
- #AF7EA9 is a grayish magenta, closest to the named color Romanov Mauve. It belongs to the purple family of colors.
- What is the RGB value of #AF7EA9?
- The RGB value is 175, 126, 169: 175 red, 126 green and 169 blue on a 0 to 255 scale.
- What is the complementary color of #AF7EA9?
- The complementary color is #7EAF84, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF7EA9?
- Black text. Black text has a contrast ratio of 6.38:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.