#A871A0 color
The hex color #A871A0 is a grayish magenta.
In the RGB color model it is made of 65.9% red, 44.3% green and 62.7% blue (168, 113, 160).
Its hue angle is 309°, with 24% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 33% magenta, 5% yellow and 34% black.
The closest named color is Drama Queen (#A37298), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.53:1).
#A871A0 color codes
| HEX | #A871A0 | |
|---|---|---|
| RGB | rgb(168, 113, 160) | |
| RGB percent | rgb(65.9%, 44.3%, 62.7%) | |
| HSL | hsl(309, 24%, 55%) | |
| HSV / HSB | hsv(309, 33%, 66%) | |
| CMYK | cmyk(0%, 33%, 5%, 34%) | |
| CIE LAB | lab(54.74, 29.37, -16.51) | |
| CIE LCH | lch(54.74, 33.69, 330.66) | |
| CIE XYZ | xyz(28.398, 22.674, 36.132) | |
| Decimal | 11039136 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A871A0, 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 #A871A0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.53:1 | Pass | Fail | Pass |
| Sample text | 3.79:1 | Fail | Fail | Pass |
| #A871A0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.79:1 | Fail | Fail | Pass |
| Sample text | 5.53: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 #A871A0 looks to people with the most common types of color vision deficiency.
#707ea2Protanopia
no red cones#7d869eDeuteranopia
no green cones#ad7482Tritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #a871a0; }
.text { color: #a871a0; }
.border { border: 2px solid #a871a0; }
.transparent { background-color: rgb(168 113 160 / 50%); }
.gradient { background: linear-gradient(to right, #a871a0, #a87185); }
Similar colors
#a37298Drama Queen#b97da8Romanov Mauve#ab7cb4Berries Galore#a97fb1Heart Potion#b36b92Je t’aime#946985Fruit of Passion#b96d8ePinky Pickle#c973a2Fading Love
Closest common color name: Lavender Purple.
Questions
- What color is #A871A0?
- #A871A0 is a grayish magenta, closest to the named color Drama Queen. It belongs to the purple family of colors.
- What is the RGB value of #A871A0?
- The RGB value is 168, 113, 160: 168 red, 113 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #A871A0?
- The complementary color is #71A879, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A871A0?
- Black text. Black text has a contrast ratio of 5.53:1 and white text 3.79:1. WCAG asks for at least 4.5:1 for normal text.