#AB4E98 color
The hex color #AB4E98 is a desaturated magenta.
In the RGB color model it is made of 67.1% red, 30.6% green and 59.6% blue (171, 78, 152).
Its hue angle is 312°, with 37% saturation and 49% lightness. For print, the CMYK equivalent is 0% cyan, 54% magenta, 11% yellow and 33% black.
The closest named color is Magenta Memoir (#B4559B), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.91:1).
#AB4E98 color codes
| HEX | #AB4E98 | |
|---|---|---|
| RGB | rgb(171, 78, 152) | |
| RGB percent | rgb(67.1%, 30.6%, 59.6%) | |
| HSL | hsl(312, 37%, 49%) | |
| HSV / HSB | hsv(312, 54%, 67%) | |
| CMYK | cmyk(0%, 54%, 11%, 33%) | |
| CIE LAB | lab(47.46, 47.61, -22.9) | |
| CIE LCH | lch(47.46, 52.83, 334.31) | |
| CIE XYZ | xyz(25.187, 16.376, 31.534) | |
| Decimal | 11226776 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB4E98, 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 #AB4E98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.27:1 | Fail | Fail | Pass |
| Sample text | 4.91:1 | Pass | Fail | Pass |
| #AB4E98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.91:1 | Pass | Fail | Pass |
| Sample text | 4.27:1 | Fail | Fail | 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 #AB4E98 looks to people with the most common types of color vision deficiency.
#4f689aProtanopia
no red cones#6a7695Deuteranopia
no green cones#b3526cTritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #ab4e98; }
.text { color: #ab4e98; }
.border { border: 2px solid #ab4e98; }
.transparent { background-color: rgb(171 78 152 / 50%); }
.gradient { background: linear-gradient(to right, #ab4e98, #ab4e6a); }
Similar colors
#b4559bMagenta Memoir#a15589Purple Zergling#9d5a8fBermuda Onion#9b4682Grape Riot#9b4b80Plum Passion#b53389Fandango#9d5783Feminism#905284Grape Candy
Closest common color name: Plum.
Questions
- What color is #AB4E98?
- #AB4E98 is a desaturated magenta, closest to the named color Magenta Memoir. It belongs to the purple family of colors.
- What is the RGB value of #AB4E98?
- The RGB value is 171, 78, 152: 171 red, 78 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #AB4E98?
- The complementary color is #4EAB61, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB4E98?
- White text. Black text has a contrast ratio of 4.27:1 and white text 4.91:1. WCAG asks for at least 4.5:1 for normal text.