#AFA4B2 color
The hex color #AFA4B2 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 64.3% green and 69.8% blue (175, 164, 178).
Its hue angle is 287°, with 8% saturation and 67% lightness. For print, the CMYK equivalent is 2% cyan, 8% magenta, 0% yellow and 30% black.
The closest named color is Foggy Plum (#B7A5AD), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.78:1).
#AFA4B2 color codes
| HEX | #AFA4B2 | |
|---|---|---|
| RGB | rgb(175, 164, 178) | |
| RGB percent | rgb(68.6%, 64.3%, 69.8%) | |
| HSL | hsl(287, 8%, 67%) | |
| HSV / HSB | hsv(287, 8%, 70%) | |
| CMYK | cmyk(2%, 8%, 0%, 30%) | |
| CIE LAB | lab(68.66, 6.58, -5.78) | |
| CIE LCH | lch(68.66, 8.76, 318.72) | |
| CIE XYZ | xyz(38.989, 38.879, 47.561) | |
| Decimal | 11510962 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA4B2, 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 #AFA4B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.78:1 | Pass | Pass | Pass |
| Sample text | 2.39:1 | Fail | Fail | Fail |
| #AFA4B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.78: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 #AFA4B2 looks to people with the most common types of color vision deficiency.
#a3a7b3Protanopia
no red cones#a5a8b1Deuteranopia
no green cones#afa5a8Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #afa4b2; }
.text { color: #afa4b2; }
.border { border: 2px solid #afa4b2; }
.transparent { background-color: rgb(175 164 178 / 50%); }
.gradient { background: linear-gradient(to right, #afa4b2, #b2a4ae); }
Similar colors
#b7a5adFoggy Plum#b39eb5Pastel Purple#b3b2bfNebulous December#c1acc3Monet Magic#9998a7Lavender Ash#a3999cWalkway#a2919bNirvana#9999aaMachinery
Questions
- What color is #AFA4B2?
- #AFA4B2 is a light, grayish magenta, closest to the named color Foggy Plum. It belongs to the gray family of colors.
- What is the RGB value of #AFA4B2?
- The RGB value is 175, 164, 178: 175 red, 164 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #AFA4B2?
- The complementary color is #A7B2A4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA4B2?
- Black text. Black text has a contrast ratio of 8.78:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.