#AF98B1 color
The hex color #AF98B1 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 59.6% green and 69.4% blue (175, 152, 177).
Its hue angle is 295°, with 14% saturation and 65% lightness. For print, the CMYK equivalent is 1% cyan, 14% magenta, 0% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.95:1).
#AF98B1 color codes
| HEX | #AF98B1 | |
|---|---|---|
| RGB | rgb(175, 152, 177) | |
| RGB percent | rgb(68.6%, 59.6%, 69.4%) | |
| HSL | hsl(295, 14%, 65%) | |
| HSV / HSB | hsv(295, 14%, 69%) | |
| CMYK | cmyk(1%, 14%, 0%, 31%) | |
| CIE LAB | lab(65.55, 13.05, -9.85) | |
| CIE LCH | lch(65.55, 16.35, 322.97) | |
| CIE XYZ | xyz(36.842, 34.745, 46.352) | |
| Decimal | 11507889 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF98B1, 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 #AF98B1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.95:1 | Pass | Pass | Pass |
| Sample text | 2.64:1 | Fail | Fail | Fail |
| #AF98B1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.95: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 #AF98B1 looks to people with the most common types of color vision deficiency.
#969eb2Protanopia
no red cones#9ba0b0Deuteranopia
no green cones#b09aa0Tritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #af98b1; }
.text { color: #af98b1; }
.border { border: 2px solid #af98b1; }
.transparent { background-color: rgb(175 152 177 / 50%); }
.gradient { background: linear-gradient(to right, #af98b1, #b198a6); }
Similar colors
#b39eb5Pastel Purple#b090b2Metal Petal#bb99bbDripping Wisteria#bb99aaClassy Mauve#c19fb3Lily#c2a4c2Novel Lilac#af8ba8Voila!#c1acc3Monet Magic
Questions
- What color is #AF98B1?
- #AF98B1 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 #AF98B1?
- The RGB value is 175, 152, 177: 175 red, 152 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #AF98B1?
- The complementary color is #9AB198, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF98B1?
- Black text. Black text has a contrast ratio of 7.95:1 and white text 2.64:1. WCAG asks for at least 4.5:1 for normal text.