#AFA9A6 color
The hex color #AFA9A6 is a gray.
In the RGB color model it is made of 68.6% red, 66.3% green and 65.1% blue (175, 169, 166).
Its hue angle is 20°, 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 Dove (#B3ADA7), a difference of 2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.05:1).
#AFA9A6 color codes
| HEX | #AFA9A6 | |
|---|---|---|
| RGB | rgb(175, 169, 166) | |
| RGB percent | rgb(68.6%, 66.3%, 65.1%) | |
| HSL | hsl(20, 5%, 67%) | |
| HSV / HSB | hsv(20, 5%, 69%) | |
| CMYK | cmyk(0%, 3%, 5%, 31%) | |
| CIE LAB | lab(69.64, 1.6, 2.31) | |
| CIE LCH | lch(69.64, 2.81, 55.29) | |
| CIE XYZ | xyz(38.749, 40.243, 41.795) | |
| Decimal | 11512230 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA9A6, 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 #AFA9A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.05:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #AFA9A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.05: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 #AFA9A6 looks to people with the most common types of color vision deficiency.
#aba9a6Protanopia
no red cones#acaba6Deuteranopia
no green cones#b1a8a8Tritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #afa9a6; }
.text { color: #afa9a6; }
.border { border: 2px solid #afa9a6; }
.transparent { background-color: rgb(175 169 166 / 50%); }
.gradient { background: linear-gradient(to right, #afa9a6, #afaea6); }
Similar colors
#b3ada7Dove#b3a9a3Muted Mauve#acaaa7Cathedral#b5acabRose Ashes#b6b0a9Mercurial#a9a8a9Ultimate Gray#b9b4b1Gray Marble#a9a9a9Dark Gray
Questions
- What color is #AFA9A6?
- #AFA9A6 is a gray, closest to the named color Dove. It belongs to the gray family of colors.
- What is the RGB value of #AFA9A6?
- The RGB value is 175, 169, 166: 175 red, 169 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #AFA9A6?
- The complementary color is #A6ACAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA9A6?
- Black text. Black text has a contrast ratio of 9.05:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.