#AFAFAA color
The hex color #AFAFAA is a gray.
In the RGB color model it is made of 68.6% red, 68.6% green and 66.7% blue (175, 175, 170).
Its hue angle is 60°, with 3% saturation and 68% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 3% yellow and 31% black.
The closest named color is Steam Engine (#B2B2AD), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.54:1).
#AFAFAA color codes
| HEX | #AFAFAA | |
|---|---|---|
| RGB | rgb(175, 175, 170) | |
| RGB percent | rgb(68.6%, 68.6%, 66.7%) | |
| HSL | hsl(60, 3%, 68%) | |
| HSV / HSB | hsv(60, 3%, 69%) | |
| CMYK | cmyk(0%, 0%, 3%, 31%) | |
| CIE LAB | lab(71.33, -0.93, 2.56) | |
| CIE LCH | lch(71.33, 2.72, 109.91) | |
| CIE XYZ | xyz(40.264, 42.676, 44.139) | |
| Decimal | 11513770 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAFAA, 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 #AFAFAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.54:1 | Pass | Pass | Pass |
| Sample text | 2.2:1 | Fail | Fail | Fail |
| #AFAFAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.54: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 #AFAFAA looks to people with the most common types of color vision deficiency.
#b0afaaProtanopia
no red cones#b0afaaDeuteranopia
no green cones#b0aeaeTritanopia
no blue cones#afafafAchromatopsia
no color vision
CSS examples
.background { background-color: #afafaa; }
.text { color: #afafaa; }
.border { border: 2px solid #afafaa; }
.transparent { background-color: rgb(175 175 170 / 50%); }
.gradient { background: linear-gradient(to right, #afafaa, #adafaa); }
Similar colors
#b2b2adSteam Engine#acaaa7Cathedral#b2b5afMagnetic#b8b5adBurnt Letters#aba9a0Windless Morning#a8a9a8Elephant in the Room#b7b9b5Greystone#b2b2b2Tangled Web
Closest common color name: Dark Gray.
Questions
- What color is #AFAFAA?
- #AFAFAA is a gray, closest to the named color Steam Engine. It belongs to the gray family of colors.
- What is the RGB value of #AFAFAA?
- The RGB value is 175, 175, 170: 175 red, 175 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #AFAFAA?
- The complementary color is #AAAAAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAFAA?
- Black text. Black text has a contrast ratio of 9.54:1 and white text 2.2:1. WCAG asks for at least 4.5:1 for normal text.