#AFAAA8 color
The hex color #AFAAA8 is a gray.
In the RGB color model it is made of 68.6% red, 66.7% green and 65.9% blue (175, 170, 168).
Its hue angle is 17°, with 4% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 4% yellow and 31% black.
The closest named color is Cathedral (#ACAAA7), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.14:1).
#AFAAA8 color codes
| HEX | #AFAAA8 | |
|---|---|---|
| RGB | rgb(175, 170, 168) | |
| RGB percent | rgb(68.6%, 66.7%, 65.9%) | |
| HSL | hsl(17, 4%, 67%) | |
| HSV / HSB | hsv(17, 4%, 69%) | |
| CMYK | cmyk(0%, 3%, 4%, 31%) | |
| CIE LAB | lab(69.96, 1.42, 1.66) | |
| CIE LCH | lch(69.96, 2.18, 49.55) | |
| CIE XYZ | xyz(39.121, 40.691, 42.831) | |
| Decimal | 11512488 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAAA8, 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 #AFAAA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.14:1 | Pass | Pass | Pass |
| Sample text | 2.3:1 | Fail | Fail | Fail |
| #AFAAA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.14: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 #AFAAA8 looks to people with the most common types of color vision deficiency.
#abaaa8Protanopia
no red cones#acaba8Deuteranopia
no green cones#b1a9a9Tritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #afaaa8; }
.text { color: #afaaa8; }
.border { border: 2px solid #afaaa8; }
.transparent { background-color: rgb(175 170 168 / 50%); }
.gradient { background: linear-gradient(to right, #afaaa8, #afaea8); }
Similar colors
#acaaa7Cathedral#b3ada7Dove#b5acabRose Ashes#a9a8a9Ultimate Gray#a9a9a9Dark Gray#b3a9a3Muted Mauve#a7a7a7Moon Landing#b9b4b1Gray Marble
Questions
- What color is #AFAAA8?
- #AFAAA8 is a gray, closest to the named color Cathedral. It belongs to the gray family of colors.
- What is the RGB value of #AFAAA8?
- The RGB value is 175, 170, 168: 175 red, 170 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #AFAAA8?
- The complementary color is #A8ADAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAAA8?
- Black text. Black text has a contrast ratio of 9.14:1 and white text 2.3:1. WCAG asks for at least 4.5:1 for normal text.