#AFA1B4 color
The hex color #AFA1B4 is a light, grayish magenta.
In the RGB color model it is made of 68.6% red, 63.1% green and 70.6% blue (175, 161, 180).
Its hue angle is 284°, with 11% saturation and 67% lightness. For print, the CMYK equivalent is 3% cyan, 11% 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 8.58:1).
#AFA1B4 color codes
| HEX | #AFA1B4 | |
|---|---|---|
| RGB | rgb(175, 161, 180) | |
| RGB percent | rgb(68.6%, 63.1%, 70.6%) | |
| HSL | hsl(284, 11%, 67%) | |
| HSV / HSB | hsv(284, 11%, 71%) | |
| CMYK | cmyk(3%, 11%, 0%, 29%) | |
| CIE LAB | lab(67.95, 8.63, -7.95) | |
| CIE LCH | lch(67.95, 11.74, 317.33) | |
| CIE XYZ | xyz(38.661, 37.899, 48.45) | |
| Decimal | 11510196 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA1B4, 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 #AFA1B4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.58:1 | Pass | Pass | Pass |
| Sample text | 2.45:1 | Fail | Fail | Fail |
| #AFA1B4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.58: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 #AFA1B4 looks to people with the most common types of color vision deficiency.
#9fa5b5Protanopia
no red cones#a2a6b3Deuteranopia
no green cones#afa3a7Tritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #afa1b4; }
.text { color: #afa1b4; }
.border { border: 2px solid #afa1b4; }
.transparent { background-color: rgb(175 161 180 / 50%); }
.gradient { background: linear-gradient(to right, #afa1b4, #b4a1b0); }
Similar colors
#b39eb5Pastel Purple#c1acc3Monet Magic#b7a5adFoggy Plum#a2919bNirvana#bdb0d0Pastel Lilac#c0b0d0Vintage Bloom#c2a4c2Novel Lilac#c19fb3Lily
Questions
- What color is #AFA1B4?
- #AFA1B4 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 #AFA1B4?
- The RGB value is 175, 161, 180: 175 red, 161 green and 180 blue on a 0 to 255 scale.
- What is the complementary color of #AFA1B4?
- The complementary color is #A6B4A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA1B4?
- Black text. Black text has a contrast ratio of 8.58:1 and white text 2.45:1. WCAG asks for at least 4.5:1 for normal text.