#AFB4B1 color
The hex color #AFB4B1 is a gray.
In the RGB color model it is made of 68.6% red, 70.6% green and 69.4% blue (175, 180, 177).
Its hue angle is 144°, with 3% saturation and 70% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 2% yellow and 29% black.
The closest named color is Magnetic (#B2B5AF), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.99:1).
#AFB4B1 color codes
| HEX | #AFB4B1 | |
|---|---|---|
| RGB | rgb(175, 180, 177) | |
| RGB percent | rgb(68.6%, 70.6%, 69.4%) | |
| HSL | hsl(144, 3%, 70%) | |
| HSV / HSB | hsv(144, 3%, 71%) | |
| CMYK | cmyk(3%, 0%, 2%, 29%) | |
| CIE LAB | lab(72.85, -2.32, 0.92) | |
| CIE LCH | lch(72.85, 2.49, 158.43) | |
| CIE XYZ | xyz(41.935, 44.931, 48.05) | |
| Decimal | 11515057 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB4B1, 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 #AFB4B1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.99:1 | Pass | Pass | Pass |
| Sample text | 2.1:1 | Fail | Fail | Fail |
| #AFB4B1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 9.99: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 #AFB4B1 looks to people with the most common types of color vision deficiency.
#b4b3b1Protanopia
no red cones#b3b2b1Deuteranopia
no green cones#aeb4b3Tritanopia
no blue cones#b3b3b3Achromatopsia
no color vision
CSS examples
.background { background-color: #afb4b1; }
.text { color: #afb4b1; }
.border { border: 2px solid #afb4b1; }
.transparent { background-color: rgb(175 180 177 / 50%); }
.gradient { background: linear-gradient(to right, #afb4b1, #afb4b4); }
Similar colors
#b2b5afMagnetic#a9afaaPigeon#b7b9b5Greystone#b4b9b9Provence Wind#b2b2adSteam Engine#babfbcMetal#b2b2b2Tangled Web#b5b6b7Wolfram
Closest common color name: Dark Gray.
Questions
- What color is #AFB4B1?
- #AFB4B1 is a gray, closest to the named color Magnetic. It belongs to the gray family of colors.
- What is the RGB value of #AFB4B1?
- The RGB value is 175, 180, 177: 175 red, 180 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #AFB4B1?
- The complementary color is #B4AFB2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB4B1?
- Black text. Black text has a contrast ratio of 9.99:1 and white text 2.1:1. WCAG asks for at least 4.5:1 for normal text.