#AB7C9C color
The hex color #AB7C9C is a grayish magenta.
In the RGB color model it is made of 67.1% red, 48.6% green and 61.2% blue (171, 124, 156).
Its hue angle is 319°, with 22% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 9% yellow and 33% black.
The closest named color is Drama Queen (#A37298), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.09:1).
#AB7C9C color codes
| HEX | #AB7C9C | |
|---|---|---|
| RGB | rgb(171, 124, 156) | |
| RGB percent | rgb(67.1%, 48.6%, 61.2%) | |
| HSL | hsl(319, 22%, 58%) | |
| HSV / HSB | hsv(319, 27%, 67%) | |
| CMYK | cmyk(0%, 27%, 9%, 33%) | |
| CIE LAB | lab(57.54, 23.48, -9.94) | |
| CIE LCH | lch(57.54, 25.5, 337.07) | |
| CIE XYZ | xyz(30.003, 25.475, 34.783) | |
| Decimal | 11238556 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB7C9C, 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 #AB7C9C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.09:1 | Pass | Fail | Pass |
| Sample text | 3.45:1 | Fail | Fail | Pass |
| #AB7C9C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.45:1 | Fail | Fail | Pass |
| Sample text | 6.09:1 | Pass | 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 #AB7C9C looks to people with the most common types of color vision deficiency.
#7d869dProtanopia
no red cones#888d9bDeuteranopia
no green cones#b07d87Tritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
CSS examples
.background { background-color: #ab7c9c; }
.text { color: #ab7c9c; }
.border { border: 2px solid #ab7c9c; }
.transparent { background-color: rgb(171 124 156 / 50%); }
.gradient { background: linear-gradient(to right, #ab7c9c, #ab7c85); }
Similar colors
#a37298Drama Queen#b97da8Romanov Mauve#af8ba8Voila!#b36b92Je t’aime#a97fb1Heart Potion#967d96Amorous#b96d8ePinky Pickle#a67283Never Forget
Closest common color name: Lavender Purple.
Questions
- What color is #AB7C9C?
- #AB7C9C is a grayish magenta, closest to the named color Drama Queen. It belongs to the pink family of colors.
- What is the RGB value of #AB7C9C?
- The RGB value is 171, 124, 156: 171 red, 124 green and 156 blue on a 0 to 255 scale.
- What is the complementary color of #AB7C9C?
- The complementary color is #7CAB8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB7C9C?
- Black text. Black text has a contrast ratio of 6.09:1 and white text 3.45:1. WCAG asks for at least 4.5:1 for normal text.