#AFB7B0 color
The hex color #AFB7B0 is a light gray.
In the RGB color model it is made of 68.6% red, 71.8% green and 69% blue (175, 183, 176).
Its hue angle is 127°, with 5% saturation and 70% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 4% yellow and 28% black.
The closest named color is Magnetic (#B2B5AF), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.22:1).
#AFB7B0 color codes
| HEX | #AFB7B0 | |
|---|---|---|
| RGB | rgb(175, 183, 176) | |
| RGB percent | rgb(68.6%, 71.8%, 69%) | |
| HSL | hsl(127, 5%, 70%) | |
| HSV / HSB | hsv(127, 4%, 72%) | |
| CMYK | cmyk(4%, 0%, 4%, 28%) | |
| CIE LAB | lab(73.62, -4.11, 2.59) | |
| CIE LCH | lch(73.62, 4.86, 147.79) | |
| CIE XYZ | xyz(42.448, 46.115, 47.731) | |
| Decimal | 11515824 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB7B0, 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 #AFB7B0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.22:1 | Pass | Pass | Pass |
| Sample text | 2.05:1 | Fail | Fail | Fail |
| #AFB7B0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.22: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 #AFB7B0 looks to people with the most common types of color vision deficiency.
#b7b5b0Protanopia
no red cones#b6b4b0Deuteranopia
no green cones#aeb7b5Tritanopia
no blue cones#b5b5b5Achromatopsia
no color vision
CSS examples
.background { background-color: #afb7b0; }
.text { color: #afb7b0; }
.border { border: 2px solid #afb7b0; }
.transparent { background-color: rgb(175 183 176 / 50%); }
.gradient { background: linear-gradient(to right, #afb7b0, #afb7b4); }
Similar colors
#b2b5afMagnetic#a9afaaPigeon#b2beb5Ash Gray#a9b4a9Alpine Air#bdc2bbSilky Green#b7b9b5Greystone#babfbcMetal#b5c0b3Irish Moor
Questions
- What color is #AFB7B0?
- #AFB7B0 is a light gray, closest to the named color Magnetic. It belongs to the gray family of colors.
- What is the RGB value of #AFB7B0?
- The RGB value is 175, 183, 176: 175 red, 183 green and 176 blue on a 0 to 255 scale.
- What is the complementary color of #AFB7B0?
- The complementary color is #B7AFB6, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB7B0?
- Black text. Black text has a contrast ratio of 10.22:1 and white text 2.05:1. WCAG asks for at least 4.5:1 for normal text.