#AF98AD color
The hex color #AF98AD is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 59.6% green and 67.8% blue (175, 152, 173).
Its hue angle is 305°, with 13% saturation and 64% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 1% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.92:1).
#AF98AD color codes
| HEX | #AF98AD | |
|---|---|---|
| RGB | rgb(175, 152, 173) | |
| RGB percent | rgb(68.6%, 59.6%, 67.8%) | |
| HSL | hsl(305, 13%, 64%) | |
| HSV / HSB | hsv(305, 13%, 69%) | |
| CMYK | cmyk(0%, 13%, 1%, 31%) | |
| CIE LAB | lab(65.43, 12.28, -7.79) | |
| CIE LCH | lch(65.43, 14.55, 327.62) | |
| CIE XYZ | xyz(36.449, 34.588, 44.283) | |
| Decimal | 11507885 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF98AD, 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 #AF98AD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.92:1 | Pass | Pass | Pass |
| Sample text | 2.65:1 | Fail | Fail | Fail |
| #AF98AD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.92: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 #AF98AD looks to people with the most common types of color vision deficiency.
#979daeProtanopia
no red cones#9ca0acDeuteranopia
no green cones#b1999fTritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #af98ad; }
.text { color: #af98ad; }
.border { border: 2px solid #af98ad; }
.transparent { background-color: rgb(175 152 173 / 50%); }
.gradient { background: linear-gradient(to right, #af98ad, #af98a2); }
Similar colors
#b39eb5Pastel Purple#bb99aaClassy Mauve#c19fb3Lily#b090b2Metal Petal#bb99bbDripping Wisteria#af8ba8Voila!#c2a4c2Novel Lilac#a2919bNirvana
Questions
- What color is #AF98AD?
- #AF98AD 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 #AF98AD?
- The RGB value is 175, 152, 173: 175 red, 152 green and 173 blue on a 0 to 255 scale.
- What is the complementary color of #AF98AD?
- The complementary color is #98AF9A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF98AD?
- Black text. Black text has a contrast ratio of 7.92:1 and white text 2.65:1. WCAG asks for at least 4.5:1 for normal text.