#AFA8AE color
The hex color #AFA8AE is a gray.
In the RGB color model it is made of 68.6% red, 65.9% green and 68.2% blue (175, 168, 174).
Its hue angle is 309°, with 4% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 1% yellow and 31% black.
The closest named color is Rose Ashes (#B5ACAB), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.04:1).
#AFA8AE color codes
| HEX | #AFA8AE | |
|---|---|---|
| RGB | rgb(175, 168, 174) | |
| RGB percent | rgb(68.6%, 65.9%, 68.2%) | |
| HSL | hsl(309, 4%, 67%) | |
| HSV / HSB | hsv(309, 4%, 69%) | |
| CMYK | cmyk(0%, 4%, 1%, 31%) | |
| CIE LAB | lab(69.59, 3.62, -2.19) | |
| CIE LCH | lch(69.59, 4.23, 328.85) | |
| CIE XYZ | xyz(39.321, 40.175, 45.719) | |
| Decimal | 11511982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA8AE, 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 #AFA8AE | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.04:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #AFA8AE as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.04: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 #AFA8AE looks to people with the most common types of color vision deficiency.
#a8a9aeProtanopia
no red cones#a9aaaeDeuteranopia
no green cones#b0a8aaTritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #afa8ae; }
.text { color: #afa8ae; }
.border { border: 2px solid #afa8ae; }
.transparent { background-color: rgb(175 168 174 / 50%); }
.gradient { background: linear-gradient(to right, #afa8ae, #afa8ab); }
Similar colors
#b5acabRose Ashes#a9a8a9Ultimate Gray#baaaaaGray Sheep#b3b2bfNebulous December#b7a5adFoggy Plum#a3999cWalkway#a9a9a9Dark Gray#a7a7a7Moon Landing
Questions
- What color is #AFA8AE?
- #AFA8AE is a gray, closest to the named color Rose Ashes. It belongs to the gray family of colors.
- What is the RGB value of #AFA8AE?
- The RGB value is 175, 168, 174: 175 red, 168 green and 174 blue on a 0 to 255 scale.
- What is the complementary color of #AFA8AE?
- The complementary color is #A8AFA9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA8AE?
- Black text. Black text has a contrast ratio of 9.04:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.