#AB95B2 color
The hex color #AB95B2 is a light, grayish magenta.
In the RGB color model it is made of 67.1% red, 58.4% green and 69.8% blue (171, 149, 178).
Its hue angle is 286°, with 16% saturation and 64% lightness. For print, the CMYK equivalent is 4% cyan, 16% magenta, 0% yellow and 30% black.
The closest named color is Metal Petal (#B090B2), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.67:1).
#AB95B2 color codes
| HEX | #AB95B2 | |
|---|---|---|
| RGB | rgb(171, 149, 178) | |
| RGB percent | rgb(67.1%, 58.4%, 69.8%) | |
| HSL | hsl(286, 16%, 64%) | |
| HSV / HSB | hsv(286, 16%, 70%) | |
| CMYK | cmyk(4%, 16%, 0%, 30%) | |
| CIE LAB | lab(64.46, 13.54, -12.08) | |
| CIE LCH | lch(64.46, 18.15, 318.25) | |
| CIE XYZ | xyz(35.577, 33.368, 46.677) | |
| Decimal | 11244978 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB95B2, 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 #AB95B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.67:1 | Pass | Pass | Pass |
| Sample text | 2.74:1 | Fail | Fail | Fail |
| #AB95B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.74:1 | Fail | Fail | Fail |
| Sample text | 7.67: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 #AB95B2 looks to people with the most common types of color vision deficiency.
#929bb3Protanopia
no red cones#969db1Deuteranopia
no green cones#ab989fTritanopia
no blue cones#9c9c9cAchromatopsia
no color vision
CSS examples
.background { background-color: #ab95b2; }
.text { color: #ab95b2; }
.border { border: 2px solid #ab95b2; }
.transparent { background-color: rgb(171 149 178 / 50%); }
.gradient { background: linear-gradient(to right, #ab95b2, #b295aa); }
Similar colors
#b090b2Metal Petal#b39eb5Pastel Purple#bb99bbDripping Wisteria#a090b8Wizard’s Brew#af8ba8Voila!#a893c1Enchanted Lilac#c2a4c2Novel Lilac#bb99aaClassy Mauve
Questions
- What color is #AB95B2?
- #AB95B2 is a light, grayish magenta, closest to the named color Metal Petal. It belongs to the purple family of colors.
- What is the RGB value of #AB95B2?
- The RGB value is 171, 149, 178: 171 red, 149 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #AB95B2?
- The complementary color is #9CB295, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB95B2?
- Black text. Black text has a contrast ratio of 7.67:1 and white text 2.74:1. WCAG asks for at least 4.5:1 for normal text.