#AFAFB1 color
The hex color #AFAFB1 is a gray.
In the RGB color model it is made of 68.6% red, 68.6% green and 69.4% blue (175, 175, 177).
Its hue angle is 240°, with 1% saturation and 69% lightness. For print, the CMYK equivalent is 1% cyan, 1% magenta, 0% yellow and 31% black.
The closest named color is Tangled Web (#B2B2B2), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.59:1).
#AFAFB1 color codes
| HEX | #AFAFB1 | |
|---|---|---|
| RGB | rgb(175, 175, 177) | |
| RGB percent | rgb(68.6%, 68.6%, 69.4%) | |
| HSL | hsl(240, 1%, 69%) | |
| HSV / HSB | hsv(240, 1%, 69%) | |
| CMYK | cmyk(1%, 1%, 0%, 31%) | |
| CIE LAB | lab(71.52, 0.38, -1.02) | |
| CIE LCH | lch(71.52, 1.09, 290.28) | |
| CIE XYZ | xyz(40.944, 42.948, 47.719) | |
| Decimal | 11513777 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAFB1, 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 #AFAFB1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.59:1 | Pass | Pass | Pass |
| Sample text | 2.19:1 | Fail | Fail | Fail |
| #AFAFB1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.19:1 | Fail | Fail | Fail |
| Sample text | 9.59: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 #AFAFB1 looks to people with the most common types of color vision deficiency.
#afafb1Protanopia
no red cones#afafb1Deuteranopia
no green cones#afafb0Tritanopia
no blue cones#afafafAchromatopsia
no color vision
CSS examples
.background { background-color: #afafb1; }
.text { color: #afafb1; }
.border { border: 2px solid #afafb1; }
.transparent { background-color: rgb(175 175 177 / 50%); }
.gradient { background: linear-gradient(to right, #afafb1, #b0afb1); }
Similar colors
#b2b2b2Tangled Web#b5b6b7Wolfram#a9a8a9Ultimate Gray#a9a9a9Dark Gray#a7a7a7Moon Landing#a8a9a8Elephant in the Room#a6a6a6Quicksilver#acaaa7Cathedral
Questions
- What color is #AFAFB1?
- #AFAFB1 is a gray, closest to the named color Tangled Web. It belongs to the gray family of colors.
- What is the RGB value of #AFAFB1?
- The RGB value is 175, 175, 177: 175 red, 175 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #AFAFB1?
- The complementary color is #B1B1AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAFB1?
- Black text. Black text has a contrast ratio of 9.59:1 and white text 2.19:1. WCAG asks for at least 4.5:1 for normal text.