#AB9FAB color
The hex color #AB9FAB is a gray.
In the RGB color model it is made of 67.1% red, 62.4% green and 67.1% blue (171, 159, 171).
Its hue angle is 300°, with 7% saturation and 65% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 0% yellow and 33% black.
The closest named color is Foggy Plum (#B7A5AD), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.28:1).
#AB9FAB color codes
| HEX | #AB9FAB | |
|---|---|---|
| RGB | rgb(171, 159, 171) | |
| RGB percent | rgb(67.1%, 62.4%, 67.1%) | |
| HSL | hsl(300, 7%, 65%) | |
| HSV / HSB | hsv(300, 7%, 67%) | |
| CMYK | cmyk(0%, 7%, 0%, 33%) | |
| CIE LAB | lab(66.82, 6.59, -4.64) | |
| CIE LCH | lch(66.82, 8.06, 324.82) | |
| CIE XYZ | xyz(36.542, 36.395, 43.62) | |
| Decimal | 11247531 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB9FAB, 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 #AB9FAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.28:1 | Pass | Pass | Pass |
| Sample text | 2.54:1 | Fail | Fail | Fail |
| #AB9FAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.54:1 | Fail | Fail | Fail |
| Sample text | 8.28: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 #AB9FAB looks to people with the most common types of color vision deficiency.
#9ea2acProtanopia
no red cones#a1a3abDeuteranopia
no green cones#aca0a3Tritanopia
no blue cones#a3a3a3Achromatopsia
no color vision
CSS examples
.background { background-color: #ab9fab; }
.text { color: #ab9fab; }
.border { border: 2px solid #ab9fab; }
.transparent { background-color: rgb(171 159 171 / 50%); }
.gradient { background: linear-gradient(to right, #ab9fab, #ab9fa5); }
Similar colors
#b7a5adFoggy Plum#a2919bNirvana#a3999cWalkway#9b959cLunar Light#b39eb5Pastel Purple#9998a7Lavender Ash#9999aaMachinery#baaaaaGray Sheep
Questions
- What color is #AB9FAB?
- #AB9FAB is a gray, closest to the named color Foggy Plum. It belongs to the gray family of colors.
- What is the RGB value of #AB9FAB?
- The RGB value is 171, 159, 171: 171 red, 159 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #AB9FAB?
- The complementary color is #9FAB9F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB9FAB?
- Black text. Black text has a contrast ratio of 8.28:1 and white text 2.54:1. WCAG asks for at least 4.5:1 for normal text.