#A8AFA4 color
The hex color #A8AFA4 is a gray.
In the RGB color model it is made of 65.9% red, 68.6% green and 64.3% blue (168, 175, 164).
Its hue angle is 98°, with 6% saturation and 66% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 6% yellow and 31% black.
The closest named color is Alpine Air (#A9B4A9), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.33:1).
#A8AFA4 color codes
| HEX | #A8AFA4 | |
|---|---|---|
| RGB | rgb(168, 175, 164) | |
| RGB percent | rgb(65.9%, 68.6%, 64.3%) | |
| HSL | hsl(98, 6%, 66%) | |
| HSV / HSB | hsv(98, 6%, 69%) | |
| CMYK | cmyk(4%, 0%, 6%, 31%) | |
| CIE LAB | lab(70.64, -4.53, 4.78) | |
| CIE LCH | lch(70.64, 6.59, 133.43) | |
| CIE XYZ | xyz(38.178, 41.665, 41.146) | |
| Decimal | 11055012 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8AFA4, 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 #A8AFA4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.33:1 | Pass | Pass | Pass |
| Sample text | 2.25:1 | Fail | Fail | Fail |
| #A8AFA4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.33: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 #A8AFA4 looks to people with the most common types of color vision deficiency.
#b0ada3Protanopia
no red cones#afada4Deuteranopia
no green cones#a8aeacTritanopia
no blue cones#adadadAchromatopsia
no color vision
CSS examples
.background { background-color: #a8afa4; }
.text { color: #a8afa4; }
.border { border: 2px solid #a8afa4; }
.transparent { background-color: rgb(168 175 164 / 50%); }
.gradient { background: linear-gradient(to right, #a8afa4, #a4afa6); }
Similar colors
#a9b4a9Alpine Air#a6ab9bMoorland#a9afaaPigeon#b2b5afMagnetic#aaaa99Humble Hippo#abb39eGargoyle#b2beb5Ash Gray#aba9a0Windless Morning
Questions
- What color is #A8AFA4?
- #A8AFA4 is a gray, closest to the named color Alpine Air. It belongs to the gray family of colors.
- What is the RGB value of #A8AFA4?
- The RGB value is 168, 175, 164: 168 red, 175 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of #A8AFA4?
- The complementary color is #ABA4AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8AFA4?
- Black text. Black text has a contrast ratio of 9.33:1 and white text 2.25:1. WCAG asks for at least 4.5:1 for normal text.