#AFABB9 color
The hex color #AFABB9 is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 67.1% green and 72.5% blue (175, 171, 185).
Its hue angle is 257°, with 9% saturation and 70% lightness. For print, the CMYK equivalent is 5% cyan, 8% magenta, 0% yellow and 27% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.35:1).
#AFABB9 color codes
| HEX | #AFABB9 | |
|---|---|---|
| RGB | rgb(175, 171, 185) | |
| RGB percent | rgb(68.6%, 67.1%, 72.5%) | |
| HSL | hsl(257, 9%, 70%) | |
| HSV / HSB | hsv(257, 8%, 73%) | |
| CMYK | cmyk(5%, 8%, 0%, 27%) | |
| CIE LAB | lab(70.69, 4.11, -6.65) | |
| CIE LCH | lch(70.69, 7.81, 301.71) | |
| CIE XYZ | xyz(40.997, 41.743, 51.787) | |
| Decimal | 11512761 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFABB9, 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 #AFABB9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.35:1 | Pass | Pass | Pass |
| Sample text | 2.25:1 | Fail | Fail | Fail |
| #AFABB9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.35: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 #AFABB9 looks to people with the most common types of color vision deficiency.
#a9adbaProtanopia
no red cones#a9adb9Deuteranopia
no green cones#adadafTritanopia
no blue cones#adadadAchromatopsia
no color vision
CSS examples
.background { background-color: #afabb9; }
.text { color: #afabb9; }
.border { border: 2px solid #afabb9; }
.transparent { background-color: rgb(175 171 185 / 50%); }
.gradient { background: linear-gradient(to right, #afabb9, #b6abb9); }
Similar colors
#b3b2bfNebulous December#b8b9cbCosmic#bdbaceBlue Haze#bdbcc4Silver Fox#9999aaMachinery#9998a7Lavender Ash#c0bfc7Ghost#b7a5adFoggy Plum
Closest common color name: Dark Gray.
Questions
- What color is #AFABB9?
- #AFABB9 is a light, grayish violet, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #AFABB9?
- The RGB value is 175, 171, 185: 175 red, 171 green and 185 blue on a 0 to 255 scale.
- What is the complementary color of #AFABB9?
- The complementary color is #B5B9AB, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFABB9?
- Black text. Black text has a contrast ratio of 9.35:1 and white text 2.25:1. WCAG asks for at least 4.5:1 for normal text.