#AF8CAA color
The hex color #AF8CAA is a grayish magenta.
In the RGB color model it is made of 68.6% red, 54.9% green and 66.7% blue (175, 140, 170).
Its hue angle is 309°, with 18% saturation and 62% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 3% yellow and 31% black.
The closest named color is Voila! (#AF8BA8), a difference of 0.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.15:1).
#AF8CAA color codes
| HEX | #AF8CAA | |
|---|---|---|
| RGB | rgb(175, 140, 170) | |
| RGB percent | rgb(68.6%, 54.9%, 66.7%) | |
| HSL | hsl(309, 18%, 62%) | |
| HSV / HSB | hsv(309, 20%, 69%) | |
| CMYK | cmyk(0%, 20%, 3%, 31%) | |
| CIE LAB | lab(62.32, 18.45, -10.74) | |
| CIE LCH | lch(62.32, 21.35, 329.8) | |
| CIE XYZ | xyz(34.312, 30.773, 42.155) | |
| Decimal | 11504810 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF8CAA, 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 #AF8CAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.15:1 | Pass | Pass | Pass |
| Sample text | 2.94:1 | Fail | Fail | Fail |
| #AF8CAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.94:1 | Fail | Fail | Fail |
| Sample text | 7.15: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 #AF8CAA looks to people with the most common types of color vision deficiency.
#8b94abProtanopia
no red cones#9398a9Deuteranopia
no green cones#b28e96Tritanopia
no blue cones#979797Achromatopsia
no color vision
CSS examples
.background { background-color: #af8caa; }
.text { color: #af8caa; }
.border { border: 2px solid #af8caa; }
.transparent { background-color: rgb(175 140 170 / 50%); }
.gradient { background: linear-gradient(to right, #af8caa, #af8c98); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#bb99bbDripping Wisteria#bf90bbLa la Love#bb99aaClassy Mauve#b97da8Romanov Mauve#b39eb5Pastel Purple
Questions
- What color is #AF8CAA?
- #AF8CAA is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AF8CAA?
- The RGB value is 175, 140, 170: 175 red, 140 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #AF8CAA?
- The complementary color is #8CAF91, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF8CAA?
- Black text. Black text has a contrast ratio of 7.15:1 and white text 2.94:1. WCAG asks for at least 4.5:1 for normal text.