#AF9FAF color
The hex color #AF9FAF is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 62.4% green and 68.6% blue (175, 159, 175).
Its hue angle is 300°, with 9% saturation and 65% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 0% yellow and 31% black.
The closest named color is Pastel Purple (#B39EB5), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.4:1).
#AF9FAF color codes
| HEX | #AF9FAF | |
|---|---|---|
| RGB | rgb(175, 159, 175) | |
| RGB percent | rgb(68.6%, 62.4%, 68.6%) | |
| HSL | hsl(300, 9%, 65%) | |
| HSV / HSB | hsv(300, 9%, 69%) | |
| CMYK | cmyk(0%, 9%, 0%, 31%) | |
| CIE LAB | lab(67.28, 8.77, -6.16) | |
| CIE LCH | lch(67.28, 10.71, 324.94) | |
| CIE XYZ | xyz(37.814, 37.006, 45.7) | |
| Decimal | 11509679 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF9FAF, 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 #AF9FAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.4:1 | Pass | Pass | Pass |
| Sample text | 2.5:1 | Fail | Fail | Fail |
| #AF9FAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.4: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 #AF9FAF looks to people with the most common types of color vision deficiency.
#9ea3b0Protanopia
no red cones#a1a4aeDeuteranopia
no green cones#b0a0a4Tritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #af9faf; }
.text { color: #af9faf; }
.border { border: 2px solid #af9faf; }
.transparent { background-color: rgb(175 159 175 / 50%); }
.gradient { background: linear-gradient(to right, #af9faf, #af9fa7); }
Similar colors
#b39eb5Pastel Purple#b7a5adFoggy Plum#a2919bNirvana#c1acc3Monet Magic#bb99aaClassy Mauve#c19fb3Lily#c2a4c2Novel Lilac#a3999cWalkway
Questions
- What color is #AF9FAF?
- #AF9FAF is a light, grayish magenta, closest to the named color Pastel Purple. It belongs to the gray family of colors.
- What is the RGB value of #AF9FAF?
- The RGB value is 175, 159, 175: 175 red, 159 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #AF9FAF?
- The complementary color is #9FAF9F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF9FAF?
- Black text. Black text has a contrast ratio of 8.4:1 and white text 2.5:1. WCAG asks for at least 4.5:1 for normal text.