#AB97AF color
The hex color #AB97AF is a light, grayish magenta.
In the RGB color model it is made of 67.1% red, 59.2% green and 68.6% blue (171, 151, 175).
Its hue angle is 290°, with 13% saturation and 64% lightness. For print, the CMYK equivalent is 2% cyan, 14% magenta, 0% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.78:1).
#AB97AF color codes
| HEX | #AB97AF | |
|---|---|---|
| RGB | rgb(171, 151, 175) | |
| RGB percent | rgb(67.1%, 59.2%, 68.6%) | |
| HSL | hsl(290, 13%, 64%) | |
| HSV / HSB | hsv(290, 14%, 69%) | |
| CMYK | cmyk(2%, 14%, 0%, 31%) | |
| CIE LAB | lab(64.87, 11.82, -9.78) | |
| CIE LCH | lch(64.87, 15.34, 320.41) | |
| CIE XYZ | xyz(35.598, 33.887, 45.215) | |
| Decimal | 11245487 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB97AF, 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 #AB97AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.78:1 | Pass | Pass | Pass |
| Sample text | 2.7:1 | Fail | Fail | Fail |
| #AB97AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.78: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 #AB97AF looks to people with the most common types of color vision deficiency.
#959cb0Protanopia
no red cones#999eaeDeuteranopia
no green cones#ac999fTritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #ab97af; }
.text { color: #ab97af; }
.border { border: 2px solid #ab97af; }
.transparent { background-color: rgb(171 151 175 / 50%); }
.gradient { background: linear-gradient(to right, #ab97af, #af97a7); }
Similar colors
#b39eb5Pastel Purple#b090b2Metal Petal#bb99bbDripping Wisteria#bb99aaClassy Mauve#af8ba8Voila!#c19fb3Lily#c2a4c2Novel Lilac#a090b8Wizard’s Brew
Questions
- What color is #AB97AF?
- #AB97AF 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 #AB97AF?
- The RGB value is 171, 151, 175: 171 red, 151 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #AB97AF?
- The complementary color is #9BAF97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB97AF?
- Black text. Black text has a contrast ratio of 7.78:1 and white text 2.7:1. WCAG asks for at least 4.5:1 for normal text.