#AFABA8 color
The hex color #AFABA8 is a gray.
In the RGB color model it is made of 68.6% red, 67.1% green and 65.9% blue (175, 171, 168).
Its hue angle is 26°, with 4% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 4% yellow and 31% black.
The closest named color is Cathedral (#ACAAA7), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.21:1).
#AFABA8 color codes
| HEX | #AFABA8 | |
|---|---|---|
| RGB | rgb(175, 171, 168) | |
| RGB percent | rgb(68.6%, 67.1%, 65.9%) | |
| HSL | hsl(26, 4%, 67%) | |
| HSV / HSB | hsv(26, 4%, 69%) | |
| CMYK | cmyk(0%, 2%, 4%, 31%) | |
| CIE LAB | lab(70.22, 0.87, 2.05) | |
| CIE LCH | lch(70.22, 2.22, 66.88) | |
| CIE XYZ | xyz(39.309, 41.067, 42.894) | |
| Decimal | 11512744 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFABA8, 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 #AFABA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.21:1 | Pass | Pass | Pass |
| Sample text | 2.28:1 | Fail | Fail | Fail |
| #AFABA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.21: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 #AFABA8 looks to people with the most common types of color vision deficiency.
#acaba8Protanopia
no red cones#adaca8Deuteranopia
no green cones#b1aaaaTritanopia
no blue cones#acacacAchromatopsia
no color vision
CSS examples
.background { background-color: #afaba8; }
.text { color: #afaba8; }
.border { border: 2px solid #afaba8; }
.transparent { background-color: rgb(175 171 168 / 50%); }
.gradient { background: linear-gradient(to right, #afaba8, #afafa8); }
Similar colors
#acaaa7Cathedral#b3ada7Dove#a9a9a9Dark Gray#b6b0a9Mercurial#a9a8a9Ultimate Gray#b9b4b1Gray Marble#a7a7a7Moon Landing#a8a9a8Elephant in the Room
Questions
- What color is #AFABA8?
- #AFABA8 is a gray, closest to the named color Cathedral. It belongs to the gray family of colors.
- What is the RGB value of #AFABA8?
- The RGB value is 175, 171, 168: 175 red, 171 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #AFABA8?
- The complementary color is #A8ACAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFABA8?
- Black text. Black text has a contrast ratio of 9.21:1 and white text 2.28:1. WCAG asks for at least 4.5:1 for normal text.