#AFB5B2 color
The hex color #AFB5B2 is a gray.
In the RGB color model it is made of 68.6% red, 71% green and 69.8% blue (175, 181, 178).
Its hue angle is 150°, with 4% 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.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.08:1).
#AFB5B2 color codes
| HEX | #AFB5B2 | |
|---|---|---|
| RGB | rgb(175, 181, 178) | |
| RGB percent | rgb(68.6%, 71%, 69.8%) | |
| HSL | hsl(150, 4%, 70%) | |
| HSV / HSB | hsv(150, 3%, 71%) | |
| CMYK | cmyk(3%, 0%, 2%, 29%) | |
| CIE LAB | lab(73.14, -2.66, 0.79) | |
| CIE LCH | lch(73.14, 2.78, 163.39) | |
| CIE XYZ | xyz(42.237, 45.376, 48.644) | |
| Decimal | 11515314 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB5B2, 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 #AFB5B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.08:1 | Pass | Pass | Pass |
| Sample text | 2.08:1 | Fail | Fail | Fail |
| #AFB5B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.08: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 #AFB5B2 looks to people with the most common types of color vision deficiency.
#b5b4b2Protanopia
no red cones#b4b3b2Deuteranopia
no green cones#aeb5b4Tritanopia
no blue cones#b4b4b4Achromatopsia
no color vision
CSS examples
.background { background-color: #afb5b2; }
.text { color: #afb5b2; }
.border { border: 2px solid #afb5b2; }
.transparent { background-color: rgb(175 181 178 / 50%); }
.gradient { background: linear-gradient(to right, #afb5b2, #afb5b5); }
Similar colors
#b2b5afMagnetic#a9afaaPigeon#b4b9b9Provence Wind#b7b9b5Greystone#babfbcMetal#b2b2adSteam Engine#aab5b8Casper#b5b6b7Wolfram
Closest common color name: Ash Gray.
Questions
- What color is #AFB5B2?
- #AFB5B2 is a gray, closest to the named color Magnetic. It belongs to the gray family of colors.
- What is the RGB value of #AFB5B2?
- The RGB value is 175, 181, 178: 175 red, 181 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #AFB5B2?
- The complementary color is #B5AFB2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB5B2?
- Black text. Black text has a contrast ratio of 10.08:1 and white text 2.08:1. WCAG asks for at least 4.5:1 for normal text.