#AFA4A5 color
The hex color #AFA4A5 is a gray.
In the RGB color model it is made of 68.6% red, 64.3% green and 64.7% blue (175, 164, 165).
Its hue angle is 355°, with 6% saturation and 66% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 6% yellow and 31% black.
The closest named color is Rose Ashes (#B5ACAB), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.68:1).
#AFA4A5 color codes
| HEX | #AFA4A5 | |
|---|---|---|
| RGB | rgb(175, 164, 165) | |
| RGB percent | rgb(68.6%, 64.3%, 64.7%) | |
| HSL | hsl(355, 6%, 66%) | |
| HSV / HSB | hsv(355, 6%, 69%) | |
| CMYK | cmyk(0%, 6%, 6%, 31%) | |
| CIE LAB | lab(68.3, 4.15, 0.91) | |
| CIE LCH | lch(68.3, 4.25, 12.39) | |
| CIE XYZ | xyz(37.745, 38.382, 41.01) | |
| Decimal | 11510949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA4A5, 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 #AFA4A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.68:1 | Pass | Pass | Pass |
| Sample text | 2.42:1 | Fail | Fail | Fail |
| #AFA4A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.68: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 #AFA4A5 looks to people with the most common types of color vision deficiency.
#a6a5a5Protanopia
no red cones#a8a7a5Deuteranopia
no green cones#b2a3a4Tritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #afa4a5; }
.text { color: #afa4a5; }
.border { border: 2px solid #afa4a5; }
.transparent { background-color: rgb(175 164 165 / 50%); }
.gradient { background: linear-gradient(to right, #afa4a5, #afa9a4); }
Similar colors
#b5acabRose Ashes#baaaaaGray Sheep#b7a8a3Martini#a3999cWalkway#b3a9a3Muted Mauve#baaea8Taupedo#b7a5adFoggy Plum#a9a8a9Ultimate Gray
Closest common color name: Dark Gray.
Questions
- What color is #AFA4A5?
- #AFA4A5 is a gray, closest to the named color Rose Ashes. It belongs to the gray family of colors.
- What is the RGB value of #AFA4A5?
- The RGB value is 175, 164, 165: 175 red, 164 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #AFA4A5?
- The complementary color is #A4AFAE, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA4A5?
- Black text. Black text has a contrast ratio of 8.68:1 and white text 2.42:1. WCAG asks for at least 4.5:1 for normal text.