#AFAAAF color
The hex color #AFAAAF is a gray.
In the RGB color model it is made of 68.6% red, 66.7% green and 68.6% blue (175, 170, 175).
Its hue angle is 300°, with 3% saturation and 68% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 0% yellow and 31% black.
The closest named color is Ultimate Gray (#A9A8A9), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.19:1).
#AFAAAF color codes
| HEX | #AFAAAF | |
|---|---|---|
| RGB | rgb(175, 170, 175) | |
| RGB percent | rgb(68.6%, 66.7%, 68.6%) | |
| HSL | hsl(300, 3%, 68%) | |
| HSV / HSB | hsv(300, 3%, 69%) | |
| CMYK | cmyk(0%, 3%, 0%, 31%) | |
| CIE LAB | lab(70.15, 2.72, -1.93) | |
| CIE LCH | lch(70.15, 3.33, 324.6) | |
| CIE XYZ | xyz(39.791, 40.959, 46.359) | |
| Decimal | 11512495 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAAAF, 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 #AFAAAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.19:1 | Pass | Pass | Pass |
| Sample text | 2.28:1 | Fail | Fail | Fail |
| #AFAAAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.19: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 #AFAAAF looks to people with the most common types of color vision deficiency.
#aaabafProtanopia
no red cones#abacafDeuteranopia
no green cones#afaaacTritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #afaaaf; }
.text { color: #afaaaf; }
.border { border: 2px solid #afaaaf; }
.transparent { background-color: rgb(175 170 175 / 50%); }
.gradient { background: linear-gradient(to right, #afaaaf, #afaaad); }
Similar colors
#a9a8a9Ultimate Gray#b5acabRose Ashes#a9a9a9Dark Gray#a7a7a7Moon Landing#a6a6a6Quicksilver#b3b2bfNebulous December#b2b2b2Tangled Web#baaaaaGray Sheep
Questions
- What color is #AFAAAF?
- #AFAAAF is a gray, closest to the named color Ultimate Gray. It belongs to the gray family of colors.
- What is the RGB value of #AFAAAF?
- The RGB value is 175, 170, 175: 175 red, 170 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #AFAAAF?
- The complementary color is #AAAFAA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAAAF?
- Black text. Black text has a contrast ratio of 9.19:1 and white text 2.28:1. WCAG asks for at least 4.5:1 for normal text.