#AF88AA color
The hex color #AF88AA is a grayish magenta.
In the RGB color model it is made of 68.6% red, 53.3% green and 66.7% blue (175, 136, 170).
Its hue angle is 308°, with 20% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 22% magenta, 3% yellow and 31% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.92:1).
#AF88AA color codes
| HEX | #AF88AA | |
|---|---|---|
| RGB | rgb(175, 136, 170) | |
| RGB percent | rgb(68.6%, 53.3%, 66.7%) | |
| HSL | hsl(308, 20%, 61%) | |
| HSV / HSB | hsv(308, 22%, 69%) | |
| CMYK | cmyk(0%, 22%, 3%, 31%) | |
| CIE LAB | lab(61.33, 20.71, -12.22) | |
| CIE LCH | lch(61.33, 24.04, 329.45) | |
| CIE XYZ | xyz(33.738, 29.626, 41.963) | |
| Decimal | 11503786 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF88AA, 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 #AF88AA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.92:1 | Pass | Fail | Pass |
| Sample text | 3.03:1 | Fail | Fail | Pass |
| #AF88AA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.03:1 | Fail | Fail | Pass |
| Sample text | 6.92: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 #AF88AA looks to people with the most common types of color vision deficiency.
#8791abProtanopia
no red cones#9096a9Deuteranopia
no green cones#b28a94Tritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #af88aa; }
.text { color: #af88aa; }
.border { border: 2px solid #af88aa; }
.transparent { background-color: rgb(175 136 170 / 50%); }
.gradient { background: linear-gradient(to right, #af88aa, #af8897); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#bf90bbLa la Love#b97da8Romanov Mauve#a97fb1Heart Potion#bb99bbDripping Wisteria#bf8fc4Violaceous
Closest common color name: Pastel Purple.
Questions
- What color is #AF88AA?
- #AF88AA is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AF88AA?
- The RGB value is 175, 136, 170: 175 red, 136 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #AF88AA?
- The complementary color is #88AF8D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF88AA?
- Black text. Black text has a contrast ratio of 6.92:1 and white text 3.03:1. WCAG asks for at least 4.5:1 for normal text.