#AF97AB color
The hex color #AF97AB is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 59.2% green and 67.1% blue (175, 151, 171).
Its hue angle is 310°, with 13% saturation and 64% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 2% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.84:1).
#AF97AB color codes
| HEX | #AF97AB | |
|---|---|---|
| RGB | rgb(175, 151, 171) | |
| RGB percent | rgb(68.6%, 59.2%, 67.1%) | |
| HSL | hsl(310, 13%, 64%) | |
| HSV / HSB | hsv(310, 14%, 69%) | |
| CMYK | cmyk(0%, 14%, 2%, 31%) | |
| CIE LAB | lab(65.11, 12.46, -7.13) | |
| CIE LCH | lch(65.11, 14.36, 330.21) | |
| CIE XYZ | xyz(36.096, 34.188, 43.218) | |
| Decimal | 11507627 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF97AB, 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 #AF97AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.84:1 | Pass | Pass | Pass |
| Sample text | 2.68:1 | Fail | Fail | Fail |
| #AF97AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.68:1 | Fail | Fail | Fail |
| Sample text | 7.84: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 #AF97AB looks to people with the most common types of color vision deficiency.
#979cacProtanopia
no red cones#9c9faaDeuteranopia
no green cones#b1989eTritanopia
no blue cones#9e9e9eAchromatopsia
no color vision
CSS examples
.background { background-color: #af97ab; }
.text { color: #af97ab; }
.border { border: 2px solid #af97ab; }
.transparent { background-color: rgb(175 151 171 / 50%); }
.gradient { background: linear-gradient(to right, #af97ab, #af979f); }
Similar colors
#b39eb5Pastel Purple#bb99aaClassy Mauve#c19fb3Lily#b090b2Metal Petal#af8ba8Voila!#bb99bbDripping Wisteria#a2919bNirvana#c2a4c2Novel Lilac
Questions
- What color is #AF97AB?
- #AF97AB is a light, grayish magenta, closest to the named color Pastel Purple. It belongs to the purple family of colors.
- What is the RGB value of #AF97AB?
- The RGB value is 175, 151, 171: 175 red, 151 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #AF97AB?
- The complementary color is #97AF9B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF97AB?
- Black text. Black text has a contrast ratio of 7.84:1 and white text 2.68:1. WCAG asks for at least 4.5:1 for normal text.