#A8AFAF color
The hex color #A8AFAF is a gray.
In the RGB color model it is made of 65.9% red, 68.6% green and 68.6% blue (168, 175, 175).
Its hue angle is 180°, with 4% saturation and 67% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 0% yellow and 31% black.
The closest named color is Crown of Ash (#A1A9A9), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.42:1).
#A8AFAF color codes
| HEX | #A8AFAF | |
|---|---|---|
| RGB | rgb(168, 175, 175) | |
| RGB percent | rgb(65.9%, 68.6%, 68.6%) | |
| HSL | hsl(180, 4%, 67%) | |
| HSV / HSB | hsv(180, 4%, 69%) | |
| CMYK | cmyk(4%, 0%, 0%, 31%) | |
| CIE LAB | lab(70.93, -2.45, -0.85) | |
| CIE LCH | lch(70.93, 2.6, 199.19) | |
| CIE XYZ | xyz(39.215, 42.08, 46.605) | |
| Decimal | 11055023 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8AFAF, 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 #A8AFAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.42:1 | Pass | Pass | Pass |
| Sample text | 2.23:1 | Fail | Fail | Fail |
| #A8AFAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.23:1 | Fail | Fail | Fail |
| Sample text | 9.42: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 #A8AFAF looks to people with the most common types of color vision deficiency.
#aeaeafProtanopia
no red cones#acadafDeuteranopia
no green cones#a6b0afTritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #a8afaf; }
.text { color: #a8afaf; }
.border { border: 2px solid #a8afaf; }
.transparent { background-color: rgb(168 175 175 / 50%); }
.gradient { background: linear-gradient(to right, #a8afaf, #a8acaf); }
Similar colors
#a1a9a9Crown of Ash#aab5b8Casper#a9afaaPigeon#9fa5a5Silent Film#b4b9b9Provence Wind#a8a9a8Elephant in the Room#9ea4a5Statuary#b2b2b2Tangled Web
Closest common color name: Dark Gray.
Questions
- What color is #A8AFAF?
- #A8AFAF is a gray, closest to the named color Crown of Ash. It belongs to the gray family of colors.
- What is the RGB value of #A8AFAF?
- The RGB value is 168, 175, 175: 168 red, 175 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #A8AFAF?
- The complementary color is #AFA8A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8AFAF?
- Black text. Black text has a contrast ratio of 9.42:1 and white text 2.23:1. WCAG asks for at least 4.5:1 for normal text.