#AFA5A5 color
The hex color #AFA5A5 is a gray.
In the RGB color model it is made of 68.6% red, 64.7% green and 64.7% blue (175, 165, 165).
Its hue angle is 0°, with 6% saturation and 67% 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.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.75:1).
#AFA5A5 color codes
| HEX | #AFA5A5 | |
|---|---|---|
| RGB | rgb(175, 165, 165) | |
| RGB percent | rgb(68.6%, 64.7%, 64.7%) | |
| HSL | hsl(0, 6%, 67%) | |
| HSV / HSB | hsv(0, 6%, 69%) | |
| CMYK | cmyk(0%, 6%, 6%, 31%) | |
| CIE LAB | lab(68.56, 3.6, 1.29) | |
| CIE LCH | lch(68.56, 3.83, 19.75) | |
| CIE XYZ | xyz(37.925, 38.741, 41.07) | |
| Decimal | 11511205 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA5A5, 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 #AFA5A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.75:1 | Pass | Pass | Pass |
| Sample text | 2.4:1 | Fail | Fail | Fail |
| #AFA5A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.75: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 #AFA5A5 looks to people with the most common types of color vision deficiency.
#a7a6a5Protanopia
no red cones#a9a8a5Deuteranopia
no green cones#b1a4a5Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #afa5a5; }
.text { color: #afa5a5; }
.border { border: 2px solid #afa5a5; }
.transparent { background-color: rgb(175 165 165 / 50%); }
.gradient { background: linear-gradient(to right, #afa5a5, #afaaa5); }
Similar colors
#b5acabRose Ashes#baaaaaGray Sheep#b7a8a3Martini#b3a9a3Muted Mauve#a3999cWalkway#baaea8Taupedo#a9a8a9Ultimate Gray#b3ada7Dove
Closest common color name: Dark Gray.
Questions
- What color is #AFA5A5?
- #AFA5A5 is a gray, closest to the named color Rose Ashes. It belongs to the gray family of colors.
- What is the RGB value of #AFA5A5?
- The RGB value is 175, 165, 165: 175 red, 165 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #AFA5A5?
- The complementary color is #A5AFAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA5A5?
- Black text. Black text has a contrast ratio of 8.75:1 and white text 2.4:1. WCAG asks for at least 4.5:1 for normal text.