#AFA9A7 color
The hex color #AFA9A7 is a gray.
In the RGB color model it is made of 68.6% red, 66.3% green and 65.5% blue (175, 169, 167).
Its hue angle is 15°, with 5% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 5% yellow and 31% black.
The closest named color is Rose Ashes (#B5ACAB), a difference of 2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.06:1).
#AFA9A7 color codes
| HEX | #AFA9A7 | |
|---|---|---|
| RGB | rgb(175, 169, 167) | |
| RGB percent | rgb(68.6%, 66.3%, 65.5%) | |
| HSL | hsl(15, 5%, 67%) | |
| HSV / HSB | hsv(15, 5%, 69%) | |
| CMYK | cmyk(0%, 3%, 5%, 31%) | |
| CIE LAB | lab(69.67, 1.78, 1.79) | |
| CIE LCH | lch(69.67, 2.53, 45.22) | |
| CIE XYZ | xyz(38.841, 40.28, 42.28) | |
| Decimal | 11512231 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA9A7, 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 #AFA9A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.06:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #AFA9A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.06: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 #AFA9A7 looks to people with the most common types of color vision deficiency.
#aaaaa7Protanopia
no red cones#acaba7Deuteranopia
no green cones#b1a8a8Tritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #afa9a7; }
.text { color: #afa9a7; }
.border { border: 2px solid #afa9a7; }
.transparent { background-color: rgb(175 169 167 / 50%); }
.gradient { background: linear-gradient(to right, #afa9a7, #afada7); }
Similar colors
#b5acabRose Ashes#acaaa7Cathedral#b3a9a3Muted Mauve#b3ada7Dove#a9a8a9Ultimate Gray#a9a9a9Dark Gray#b9b4b1Gray Marble#a7a7a7Moon Landing
Questions
- What color is #AFA9A7?
- #AFA9A7 is a gray, closest to the named color Rose Ashes. It belongs to the gray family of colors.
- What is the RGB value of #AFA9A7?
- The RGB value is 175, 169, 167: 175 red, 169 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #AFA9A7?
- The complementary color is #A7ADAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA9A7?
- Black text. Black text has a contrast ratio of 9.06:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.