#AF8AA8 color
The hex color #AF8AA8 is a grayish magenta.
In the RGB color model it is made of 68.6% red, 54.1% green and 65.9% blue (175, 138, 168).
Its hue angle is 311°, with 19% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 4% yellow and 31% black.
The closest named color is Voila! (#AF8BA8), a difference of 0.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.02:1).
#AF8AA8 color codes
| HEX | #AF8AA8 | |
|---|---|---|
| RGB | rgb(175, 138, 168) | |
| RGB percent | rgb(68.6%, 54.1%, 65.9%) | |
| HSL | hsl(311, 19%, 61%) | |
| HSV / HSB | hsv(311, 21%, 69%) | |
| CMYK | cmyk(0%, 21%, 4%, 31%) | |
| CIE LAB | lab(61.76, 19.2, -10.44) | |
| CIE LCH | lch(61.76, 21.86, 331.46) | |
| CIE XYZ | xyz(33.835, 30.119, 41.069) | |
| Decimal | 11504296 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF8AA8, 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 #AF8AA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.02:1 | Pass | Pass | Pass |
| Sample text | 2.99:1 | Fail | Fail | Fail |
| #AF8AA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.99:1 | Fail | Fail | Fail |
| Sample text | 7.02:1 | Pass | Pass | 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 #AF8AA8 looks to people with the most common types of color vision deficiency.
#8a92a9Protanopia
no red cones#9297a7Deuteranopia
no green cones#b38c94Tritanopia
no blue cones#959595Achromatopsia
no color vision
CSS examples
.background { background-color: #af8aa8; }
.text { color: #af8aa8; }
.border { border: 2px solid #af8aa8; }
.transparent { background-color: rgb(175 138 168 / 50%); }
.gradient { background: linear-gradient(to right, #af8aa8, #af8a96); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#bb99bbDripping Wisteria#bf90bbLa la Love#b97da8Romanov Mauve#bb99aaClassy Mauve#a97fb1Heart Potion
Closest common color name: Pastel Purple.
Questions
- What color is #AF8AA8?
- #AF8AA8 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AF8AA8?
- The RGB value is 175, 138, 168: 175 red, 138 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #AF8AA8?
- The complementary color is #8AAF91, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF8AA8?
- Black text. Black text has a contrast ratio of 7.02:1 and white text 2.99:1. WCAG asks for at least 4.5:1 for normal text.