#AB8AA5 color
The hex color #AB8AA5 is a grayish magenta.
In the RGB color model it is made of 67.1% red, 54.1% green and 64.7% blue (171, 138, 165).
Its hue angle is 311°, with 16% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 19% magenta, 4% yellow and 33% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.91:1).
#AB8AA5 color codes
| HEX | #AB8AA5 | |
|---|---|---|
| RGB | rgb(171, 138, 165) | |
| RGB percent | rgb(67.1%, 54.1%, 64.7%) | |
| HSL | hsl(311, 16%, 61%) | |
| HSV / HSB | hsv(311, 19%, 67%) | |
| CMYK | cmyk(0%, 19%, 4%, 33%) | |
| CIE LAB | lab(61.27, 17.22, -9.51) | |
| CIE LCH | lch(61.27, 19.67, 331.08) | |
| CIE XYZ | xyz(32.674, 29.552, 39.573) | |
| Decimal | 11242149 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB8AA5, 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 #AB8AA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.91:1 | Pass | Fail | Pass |
| Sample text | 3.04:1 | Fail | Fail | Pass |
| #AB8AA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.04:1 | Fail | Fail | Pass |
| Sample text | 6.91: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 #AB8AA5 looks to people with the most common types of color vision deficiency.
#8a91a6Protanopia
no red cones#9196a4Deuteranopia
no green cones#ae8b93Tritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #ab8aa5; }
.text { color: #ab8aa5; }
.border { border: 2px solid #ab8aa5; }
.transparent { background-color: rgb(171 138 165 / 50%); }
.gradient { background: linear-gradient(to right, #ab8aa5, #ab8a94); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#bb99bbDripping Wisteria#967d96Amorous#bb99aaClassy Mauve#bf90bbLa la Love#95859cHatoba Pigeon
Closest common color name: Pastel Purple.
Questions
- What color is #AB8AA5?
- #AB8AA5 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AB8AA5?
- The RGB value is 171, 138, 165: 171 red, 138 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #AB8AA5?
- The complementary color is #8AAB90, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB8AA5?
- Black text. Black text has a contrast ratio of 6.91:1 and white text 3.04:1. WCAG asks for at least 4.5:1 for normal text.