#AB97B1 color
The hex color #AB97B1 is a light, grayish magenta.
In the RGB color model it is made of 67.1% red, 59.2% green and 69.4% blue (171, 151, 177).
Its hue angle is 286°, with 14% saturation and 64% lightness. For print, the CMYK equivalent is 3% cyan, 15% magenta, 0% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.79:1).
#AB97B1 color codes
| HEX | #AB97B1 | |
|---|---|---|
| RGB | rgb(171, 151, 177) | |
| RGB percent | rgb(67.1%, 59.2%, 69.4%) | |
| HSL | hsl(286, 14%, 64%) | |
| HSV / HSB | hsv(286, 15%, 69%) | |
| CMYK | cmyk(3%, 15%, 0%, 31%) | |
| CIE LAB | lab(64.94, 12.22, -10.81) | |
| CIE LCH | lch(64.94, 16.31, 318.51) | |
| CIE XYZ | xyz(35.796, 33.966, 46.257) | |
| Decimal | 11245489 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB97B1, 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 #AB97B1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.79:1 | Pass | Pass | Pass |
| Sample text | 2.69:1 | Fail | Fail | Fail |
| #AB97B1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.79: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 #AB97B1 looks to people with the most common types of color vision deficiency.
#949cb2Protanopia
no red cones#989eb0Deuteranopia
no green cones#ab9aa0Tritanopia
no blue cones#9e9e9eAchromatopsia
no color vision
CSS examples
.background { background-color: #ab97b1; }
.text { color: #ab97b1; }
.border { border: 2px solid #ab97b1; }
.transparent { background-color: rgb(171 151 177 / 50%); }
.gradient { background: linear-gradient(to right, #ab97b1, #b197aa); }
Similar colors
#b39eb5Pastel Purple#b090b2Metal Petal#bb99bbDripping Wisteria#a090b8Wizard’s Brew#af8ba8Voila!#c2a4c2Novel Lilac#bb99aaClassy Mauve#c19fb3Lily
Questions
- What color is #AB97B1?
- #AB97B1 is a light, grayish magenta, closest to the named color Pastel Purple. It belongs to the purple family of colors.
- What is the RGB value of #AB97B1?
- The RGB value is 171, 151, 177: 171 red, 151 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #AB97B1?
- The complementary color is #9DB197, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB97B1?
- Black text. Black text has a contrast ratio of 7.79:1 and white text 2.69:1. WCAG asks for at least 4.5:1 for normal text.