#AFA5A2 color
The hex color #AFA5A2 is a gray.
In the RGB color model it is made of 68.6% red, 64.7% green and 63.5% blue (175, 165, 162).
Its hue angle is 14°, with 8% saturation and 66% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 7% yellow and 31% black.
The closest named color is Muted Mauve (#B3A9A3), a difference of 2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.73:1).
#AFA5A2 color codes
| HEX | #AFA5A2 | |
|---|---|---|
| RGB | rgb(175, 165, 162) | |
| RGB percent | rgb(68.6%, 64.7%, 63.5%) | |
| HSL | hsl(14, 8%, 66%) | |
| HSV / HSB | hsv(14, 7%, 69%) | |
| CMYK | cmyk(0%, 6%, 7%, 31%) | |
| CIE LAB | lab(68.48, 3.07, 2.84) | |
| CIE LCH | lch(68.48, 4.18, 42.85) | |
| CIE XYZ | xyz(37.655, 38.633, 39.649) | |
| Decimal | 11511202 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA5A2, 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 #AFA5A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.73:1 | Pass | Pass | Pass |
| Sample text | 2.41:1 | Fail | Fail | Fail |
| #AFA5A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.73: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 #AFA5A2 looks to people with the most common types of color vision deficiency.
#a7a6a2Protanopia
no red cones#a9a8a2Deuteranopia
no green cones#b2a4a4Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #afa5a2; }
.text { color: #afa5a2; }
.border { border: 2px solid #afa5a2; }
.transparent { background-color: rgb(175 165 162 / 50%); }
.gradient { background: linear-gradient(to right, #afa5a2, #afaca2); }
Similar colors
#b3a9a3Muted Mauve#b5acabRose Ashes#b7a8a3Martini#baaea8Taupedo#b3ada7Dove#baaaaaGray Sheep#acaaa7Cathedral#bdaca3Mushroom
Questions
- What color is #AFA5A2?
- #AFA5A2 is a gray, closest to the named color Muted Mauve. It belongs to the gray family of colors.
- What is the RGB value of #AFA5A2?
- The RGB value is 175, 165, 162: 175 red, 165 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #AFA5A2?
- The complementary color is #A2ACAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA5A2?
- Black text. Black text has a contrast ratio of 8.73:1 and white text 2.41:1. WCAG asks for at least 4.5:1 for normal text.