#AC87A2 color
The hex color #AC87A2 is a grayish magenta.
In the RGB color model it is made of 67.5% red, 52.9% green and 63.5% blue (172, 135, 162).
Its hue angle is 316°, with 18% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 22% magenta, 6% yellow and 33% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.74:1).
#AC87A2 color codes
| HEX | #AC87A2 | |
|---|---|---|
| RGB | rgb(172, 135, 162) | |
| RGB percent | rgb(67.5%, 52.9%, 63.5%) | |
| HSL | hsl(316, 18%, 60%) | |
| HSV / HSB | hsv(316, 22%, 67%) | |
| CMYK | cmyk(0%, 22%, 6%, 33%) | |
| CIE LAB | lab(60.52, 18.71, -8.9) | |
| CIE LCH | lch(60.52, 20.72, 334.56) | |
| CIE XYZ | xyz(32.198, 28.708, 38.021) | |
| Decimal | 11306914 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AC87A2, 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 #AC87A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.74:1 | Pass | Fail | Pass |
| Sample text | 3.12:1 | Fail | Fail | Pass |
| #AC87A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.12:1 | Fail | Fail | Pass |
| Sample text | 6.74: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 #AC87A2 looks to people with the most common types of color vision deficiency.
#878fa3Protanopia
no red cones#9094a1Deuteranopia
no green cones#b08890Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #ac87a2; }
.text { color: #ac87a2; }
.border { border: 2px solid #ac87a2; }
.transparent { background-color: rgb(172 135 162 / 50%); }
.gradient { background: linear-gradient(to right, #ac87a2, #ac8790); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#967d96Amorous#b97da8Romanov Mauve#bb99bbDripping Wisteria#bf90bbLa la Love#bb99aaClassy Mauve
Closest common color name: Pastel Purple.
Questions
- What color is #AC87A2?
- #AC87A2 is a grayish magenta, closest to the named color Voila!. It belongs to the pink family of colors.
- What is the RGB value of #AC87A2?
- The RGB value is 172, 135, 162: 172 red, 135 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #AC87A2?
- The complementary color is #87AC91, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AC87A2?
- Black text. Black text has a contrast ratio of 6.74:1 and white text 3.12:1. WCAG asks for at least 4.5:1 for normal text.