#AB7F9B color
The hex color #AB7F9B is a grayish rose.
In the RGB color model it is made of 67.1% red, 49.8% green and 60.8% blue (171, 127, 155).
Its hue angle is 322°, with 21% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 26% magenta, 9% yellow and 33% black.
The closest named color is Voila! (#AF8BA8), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.24:1).
#AB7F9B color codes
| HEX | #AB7F9B | |
|---|---|---|
| RGB | rgb(171, 127, 155) | |
| RGB percent | rgb(67.1%, 49.8%, 60.8%) | |
| HSL | hsl(322, 21%, 58%) | |
| HSV / HSB | hsv(322, 26%, 67%) | |
| CMYK | cmyk(0%, 26%, 9%, 33%) | |
| CIE LAB | lab(58.23, 21.6, -8.32) | |
| CIE LCH | lch(58.23, 23.15, 338.94) | |
| CIE XYZ | xyz(30.3, 26.204, 34.466) | |
| Decimal | 11239323 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB7F9B, 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 #AB7F9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.24:1 | Pass | Fail | Pass |
| Sample text | 3.37:1 | Fail | Fail | Pass |
| #AB7F9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.37:1 | Fail | Fail | Pass |
| Sample text | 6.24: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 #AB7F9B looks to people with the most common types of color vision deficiency.
#81889cProtanopia
no red cones#8b8e9aDeuteranopia
no green cones#b07f89Tritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #ab7f9b; }
.text { color: #ab7f9b; }
.border { border: 2px solid #ab7f9b; }
.transparent { background-color: rgb(171 127 155 / 50%); }
.gradient { background: linear-gradient(to right, #ab7f9b, #ab7f85); }
Similar colors
#af8ba8Voila!#b97da8Romanov Mauve#a37298Drama Queen#967d96Amorous#b68692Punched Pink#b090b2Metal Petal#a67283Never Forget#bf91b2Mauve Magic
Closest common color name: Pastel Purple.
Questions
- What color is #AB7F9B?
- #AB7F9B is a grayish rose, closest to the named color Voila!. It belongs to the pink family of colors.
- What is the RGB value of #AB7F9B?
- The RGB value is 171, 127, 155: 171 red, 127 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #AB7F9B?
- The complementary color is #7FAB8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB7F9B?
- Black text. Black text has a contrast ratio of 6.24:1 and white text 3.37:1. WCAG asks for at least 4.5:1 for normal text.