#AB96B2 color
The hex color #AB96B2 is a light, grayish magenta.
In the RGB color model it is made of 67.1% red, 58.8% green and 69.8% blue (171, 150, 178).
Its hue angle is 285°, with 15% saturation and 64% lightness. For print, the CMYK equivalent is 4% cyan, 16% magenta, 0% yellow and 30% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.74:1).
#AB96B2 color codes
| HEX | #AB96B2 | |
|---|---|---|
| RGB | rgb(171, 150, 178) | |
| RGB percent | rgb(67.1%, 58.8%, 69.8%) | |
| HSL | hsl(285, 15%, 64%) | |
| HSV / HSB | hsv(285, 16%, 70%) | |
| CMYK | cmyk(4%, 16%, 0%, 30%) | |
| CIE LAB | lab(64.71, 12.98, -11.7) | |
| CIE LCH | lch(64.71, 17.48, 317.96) | |
| CIE XYZ | xyz(35.736, 33.685, 46.73) | |
| Decimal | 11245234 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB96B2, 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 #AB96B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.74:1 | Pass | Pass | Pass |
| Sample text | 2.71:1 | Fail | Fail | Fail |
| #AB96B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.71:1 | Fail | Fail | Fail |
| Sample text | 7.74: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 #AB96B2 looks to people with the most common types of color vision deficiency.
#939cb3Protanopia
no red cones#979eb1Deuteranopia
no green cones#ab999fTritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #ab96b2; }
.text { color: #ab96b2; }
.border { border: 2px solid #ab96b2; }
.transparent { background-color: rgb(171 150 178 / 50%); }
.gradient { background: linear-gradient(to right, #ab96b2, #b296ab); }
Similar colors
#b39eb5Pastel Purple#b090b2Metal Petal#bb99bbDripping Wisteria#a090b8Wizard’s Brew#af8ba8Voila!#a893c1Enchanted Lilac#c2a4c2Novel Lilac#bb99aaClassy Mauve
Questions
- What color is #AB96B2?
- #AB96B2 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 #AB96B2?
- The RGB value is 171, 150, 178: 171 red, 150 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #AB96B2?
- The complementary color is #9DB296, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB96B2?
- Black text. Black text has a contrast ratio of 7.74:1 and white text 2.71:1. WCAG asks for at least 4.5:1 for normal text.