#AFA7AA color
The hex color #AFA7AA is a gray.
In the RGB color model it is made of 68.6% red, 65.5% green and 66.7% blue (175, 167, 170).
Its hue angle is 338°, with 5% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 3% yellow and 31% black.
The closest named color is Rose Ashes (#B5ACAB), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.93:1).
#AFA7AA color codes
| HEX | #AFA7AA | |
|---|---|---|
| RGB | rgb(175, 167, 170) | |
| RGB percent | rgb(68.6%, 65.5%, 66.7%) | |
| HSL | hsl(338, 5%, 67%) | |
| HSV / HSB | hsv(338, 5%, 69%) | |
| CMYK | cmyk(0%, 5%, 3%, 31%) | |
| CIE LAB | lab(69.22, 3.42, -0.52) | |
| CIE LCH | lch(69.22, 3.46, 351.38) | |
| CIE XYZ | xyz(38.753, 39.654, 43.635) | |
| Decimal | 11511722 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA7AA, 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 #AFA7AA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.93:1 | Pass | Pass | Pass |
| Sample text | 2.35:1 | Fail | Fail | Fail |
| #AFA7AA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.35:1 | Fail | Fail | Fail |
| Sample text | 8.93: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 #AFA7AA looks to people with the most common types of color vision deficiency.
#a8a8aaProtanopia
no red cones#a9a9aaDeuteranopia
no green cones#b0a7a8Tritanopia
no blue cones#a9a9a9Achromatopsia
no color vision
CSS examples
.background { background-color: #afa7aa; }
.text { color: #afa7aa; }
.border { border: 2px solid #afa7aa; }
.transparent { background-color: rgb(175 167 170 / 50%); }
.gradient { background: linear-gradient(to right, #afa7aa, #afa8a7); }
Similar colors
#b5acabRose Ashes#baaaaaGray Sheep#a9a8a9Ultimate Gray#a3999cWalkway#a9a9a9Dark Gray#b7a8a3Martini#a7a7a7Moon Landing#a6a6a6Quicksilver
Questions
- What color is #AFA7AA?
- #AFA7AA is a gray, closest to the named color Rose Ashes. It belongs to the gray family of colors.
- What is the RGB value of #AFA7AA?
- The RGB value is 175, 167, 170: 175 red, 167 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #AFA7AA?
- The complementary color is #A7AFAC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA7AA?
- Black text. Black text has a contrast ratio of 8.93:1 and white text 2.35:1. WCAG asks for at least 4.5:1 for normal text.