#AFB2AB color
The hex color #AFB2AB is a gray.
In the RGB color model it is made of 68.6% red, 69.8% green and 67.1% blue (175, 178, 171).
Its hue angle is 86°, with 4% saturation and 68% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 4% yellow and 30% black.
The closest named color is Magnetic (#B2B5AF), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.78:1).
#AFB2AB color codes
| HEX | #AFB2AB | |
|---|---|---|
| RGB | rgb(175, 178, 171) | |
| RGB percent | rgb(68.6%, 69.8%, 67.1%) | |
| HSL | hsl(86, 4%, 68%) | |
| HSV / HSB | hsv(86, 4%, 70%) | |
| CMYK | cmyk(2%, 0%, 4%, 30%) | |
| CIE LAB | lab(72.16, -2.36, 3.2) | |
| CIE LCH | lch(72.16, 3.98, 126.35) | |
| CIE XYZ | xyz(40.949, 43.895, 44.835) | |
| Decimal | 11514539 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB2AB, 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 #AFB2AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.78:1 | Pass | Pass | Pass |
| Sample text | 2.15:1 | Fail | Fail | Fail |
| #AFB2AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.78: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 #AFB2AB looks to people with the most common types of color vision deficiency.
#b3b1abProtanopia
no red cones#b2b1abDeuteranopia
no green cones#afb1b0Tritanopia
no blue cones#b1b1b1Achromatopsia
no color vision
CSS examples
.background { background-color: #afb2ab; }
.text { color: #afb2ab; }
.border { border: 2px solid #afb2ab; }
.transparent { background-color: rgb(175 178 171 / 50%); }
.gradient { background: linear-gradient(to right, #afb2ab, #acb2ab); }
Similar colors
#b2b5afMagnetic#a9afaaPigeon#b2b2adSteam Engine#b7b9b5Greystone#b8b5adBurnt Letters#bab8adZen Pebble#aba9a0Windless Morning#babfbcMetal
Closest common color name: Greige.
Questions
- What color is #AFB2AB?
- #AFB2AB is a gray, closest to the named color Magnetic. It belongs to the gray family of colors.
- What is the RGB value of #AFB2AB?
- The RGB value is 175, 178, 171: 175 red, 178 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #AFB2AB?
- The complementary color is #AEABB2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB2AB?
- Black text. Black text has a contrast ratio of 9.78:1 and white text 2.15:1. WCAG asks for at least 4.5:1 for normal text.