#AFA5B6 color
The hex color #AFA5B6 is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 64.7% green and 71.4% blue (175, 165, 182).
Its hue angle is 275°, with 10% saturation and 68% lightness. For print, the CMYK equivalent is 4% cyan, 9% magenta, 0% yellow and 29% black.
The closest named color is Foggy Plum (#B7A5AD), a difference of 4.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.88:1).
#AFA5B6 color codes
| HEX | #AFA5B6 | |
|---|---|---|
| RGB | rgb(175, 165, 182) | |
| RGB percent | rgb(68.6%, 64.7%, 71.4%) | |
| HSL | hsl(275, 10%, 68%) | |
| HSV / HSB | hsv(275, 9%, 71%) | |
| CMYK | cmyk(4%, 9%, 0%, 29%) | |
| CIE LAB | lab(69.04, 6.81, -7.44) | |
| CIE LCH | lch(69.04, 10.08, 312.48) | |
| CIE XYZ | xyz(39.576, 39.402, 49.767) | |
| Decimal | 11511222 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA5B6, 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 #AFA5B6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.88:1 | Pass | Pass | Pass |
| Sample text | 2.36:1 | Fail | Fail | Fail |
| #AFA5B6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.36:1 | Fail | Fail | Fail |
| Sample text | 8.88: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 #AFA5B6 looks to people with the most common types of color vision deficiency.
#a3a8b7Protanopia
no red cones#a5a9b5Deuteranopia
no green cones#aea7aaTritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #afa5b6; }
.text { color: #afa5b6; }
.border { border: 2px solid #afa5b6; }
.transparent { background-color: rgb(175 165 182 / 50%); }
.gradient { background: linear-gradient(to right, #afa5b6, #b6a5b5); }
Similar colors
#b7a5adFoggy Plum#b39eb5Pastel Purple#c1acc3Monet Magic#b3b2bfNebulous December#9999aaMachinery#9998a7Lavender Ash#bdbaceBlue Haze#bdb0d0Pastel Lilac
Questions
- What color is #AFA5B6?
- #AFA5B6 is a light, grayish violet, closest to the named color Foggy Plum. It belongs to the gray family of colors.
- What is the RGB value of #AFA5B6?
- The RGB value is 175, 165, 182: 175 red, 165 green and 182 blue on a 0 to 255 scale.
- What is the complementary color of #AFA5B6?
- The complementary color is #ACB6A5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA5B6?
- Black text. Black text has a contrast ratio of 8.88:1 and white text 2.36:1. WCAG asks for at least 4.5:1 for normal text.