#AF87A1 color
The hex color #AF87A1 is a grayish rose.
In the RGB color model it is made of 68.6% red, 52.9% green and 63.1% blue (175, 135, 161).
Its hue angle is 321°, with 20% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 8% yellow and 31% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.8:1).
#AF87A1 color codes
| HEX | #AF87A1 | |
|---|---|---|
| RGB | rgb(175, 135, 161) | |
| RGB percent | rgb(68.6%, 52.9%, 63.1%) | |
| HSL | hsl(321, 20%, 61%) | |
| HSV / HSB | hsv(321, 23%, 69%) | |
| CMYK | cmyk(0%, 23%, 8%, 31%) | |
| CIE LAB | lab(60.8, 19.61, -7.89) | |
| CIE LCH | lch(60.8, 21.14, 338.08) | |
| CIE XYZ | xyz(32.776, 29.016, 37.585) | |
| Decimal | 11503521 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF87A1, 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 #AF87A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.8:1 | Pass | Fail | Pass |
| Sample text | 3.09:1 | Fail | Fail | Pass |
| #AF87A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.09:1 | Fail | Fail | Pass |
| Sample text | 6.8: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 #AF87A1 looks to people with the most common types of color vision deficiency.
#888fa2Protanopia
no red cones#9195a0Deuteranopia
no green cones#b48890Tritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #af87a1; }
.text { color: #af87a1; }
.border { border: 2px solid #af87a1; }
.transparent { background-color: rgb(175 135 161 / 50%); }
.gradient { background: linear-gradient(to right, #af87a1, #af878d); }
Similar colors
#af8ba8Voila!#bf91b2Mauve Magic#b090b2Metal Petal#b97da8Romanov Mauve#b68692Punched Pink#c88ca4Pinch Me#bb99aaClassy Mauve#bf90bbLa la Love
Closest common color name: Pastel Purple.
Questions
- What color is #AF87A1?
- #AF87A1 is a grayish rose, closest to the named color Voila!. It belongs to the pink family of colors.
- What is the RGB value of #AF87A1?
- The RGB value is 175, 135, 161: 175 red, 135 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #AF87A1?
- The complementary color is #87AF95, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF87A1?
- Black text. Black text has a contrast ratio of 6.8:1 and white text 3.09:1. WCAG asks for at least 4.5:1 for normal text.