#AF97B4 color
The hex color #AF97B4 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 59.2% green and 70.6% blue (175, 151, 180).
Its hue angle is 290°, with 16% saturation and 65% lightness. For print, the CMYK equivalent is 3% cyan, 16% magenta, 0% yellow and 29% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.91:1).
#AF97B4 color codes
| HEX | #AF97B4 | |
|---|---|---|
| RGB | rgb(175, 151, 180) | |
| RGB percent | rgb(68.6%, 59.2%, 70.6%) | |
| HSL | hsl(290, 16%, 65%) | |
| HSV / HSB | hsv(290, 16%, 71%) | |
| CMYK | cmyk(3%, 16%, 0%, 29%) | |
| CIE LAB | lab(65.39, 14.2, -11.77) | |
| CIE LCH | lch(65.39, 18.44, 320.35) | |
| CIE XYZ | xyz(36.983, 34.543, 47.89) | |
| Decimal | 11507636 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF97B4, 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 #AF97B4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.91:1 | Pass | Pass | Pass |
| Sample text | 2.66:1 | Fail | Fail | Fail |
| #AF97B4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.66:1 | Fail | Fail | Fail |
| Sample text | 7.91: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 #AF97B4 looks to people with the most common types of color vision deficiency.
#949db5Protanopia
no red cones#99a0b3Deuteranopia
no green cones#b09aa1Tritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #af97b4; }
.text { color: #af97b4; }
.border { border: 2px solid #af97b4; }
.transparent { background-color: rgb(175 151 180 / 50%); }
.gradient { background: linear-gradient(to right, #af97b4, #b497ab); }
Similar colors
#b39eb5Pastel Purple#b090b2Metal Petal#bb99bbDripping Wisteria#af8ba8Voila!#c2a4c2Novel Lilac#a090b8Wizard’s Brew#c19fb3Lily#bb99aaClassy Mauve
Questions
- What color is #AF97B4?
- #AF97B4 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 #AF97B4?
- The RGB value is 175, 151, 180: 175 red, 151 green and 180 blue on a 0 to 255 scale.
- What is the complementary color of #AF97B4?
- The complementary color is #9CB497, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF97B4?
- Black text. Black text has a contrast ratio of 7.91:1 and white text 2.66:1. WCAG asks for at least 4.5:1 for normal text.