#AB97A6 color
The hex color #AB97A6 is a light, grayish magenta.
In the RGB color model it is made of 67.1% red, 59.2% green and 65.1% blue (171, 151, 166).
Its hue angle is 315°, with 11% saturation and 63% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 3% yellow and 33% black.
The closest named color is Nirvana (#A2919B), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.71:1).
#AB97A6 color codes
| HEX | #AB97A6 | |
|---|---|---|
| RGB | rgb(171, 151, 166) | |
| RGB percent | rgb(67.1%, 59.2%, 65.1%) | |
| HSL | hsl(315, 11%, 63%) | |
| HSV / HSB | hsv(315, 12%, 67%) | |
| CMYK | cmyk(0%, 12%, 3%, 33%) | |
| CIE LAB | lab(64.6, 10.09, -5.12) | |
| CIE LCH | lch(64.6, 11.32, 333.09) | |
| CIE XYZ | xyz(34.743, 33.545, 40.714) | |
| Decimal | 11245478 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB97A6, 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 #AB97A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.71:1 | Pass | Pass | Pass |
| Sample text | 2.72:1 | Fail | Fail | Fail |
| #AB97A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.72:1 | Fail | Fail | Fail |
| Sample text | 7.71: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 #AB97A6 looks to people with the most common types of color vision deficiency.
#979ba7Protanopia
no red cones#9b9ea5Deuteranopia
no green cones#ad989cTritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #ab97a6; }
.text { color: #ab97a6; }
.border { border: 2px solid #ab97a6; }
.transparent { background-color: rgb(171 151 166 / 50%); }
.gradient { background: linear-gradient(to right, #ab97a6, #ab979c); }
Similar colors
#a2919bNirvana#b39eb5Pastel Purple#bb99aaClassy Mauve#b7a5adFoggy Plum#c19fb3Lily#948593Femme Fatale#a3999cWalkway#af8ba8Voila!
Questions
- What color is #AB97A6?
- #AB97A6 is a light, grayish magenta, closest to the named color Nirvana. It belongs to the gray family of colors.
- What is the RGB value of #AB97A6?
- The RGB value is 171, 151, 166: 171 red, 151 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #AB97A6?
- The complementary color is #97AB9C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB97A6?
- Black text. Black text has a contrast ratio of 7.71:1 and white text 2.72:1. WCAG asks for at least 4.5:1 for normal text.