#AFAFB6 color
The hex color #AFAFB6 is a gray.
In the RGB color model it is made of 68.6% red, 68.6% green and 71.4% blue (175, 175, 182).
Its hue angle is 240°, with 5% saturation and 70% lightness. For print, the CMYK equivalent is 4% cyan, 4% magenta, 0% yellow and 29% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.63:1).
#AFAFB6 color codes
| HEX | #AFAFB6 | |
|---|---|---|
| RGB | rgb(175, 175, 182) | |
| RGB percent | rgb(68.6%, 68.6%, 71.4%) | |
| HSL | hsl(240, 5%, 70%) | |
| HSV / HSB | hsv(240, 4%, 71%) | |
| CMYK | cmyk(4%, 4%, 0%, 29%) | |
| CIE LAB | lab(71.66, 1.34, -3.57) | |
| CIE LCH | lch(71.66, 3.81, 290.55) | |
| CIE XYZ | xyz(41.451, 43.151, 50.392) | |
| Decimal | 11513782 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAFB6, 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 #AFAFB6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.63:1 | Pass | Pass | Pass |
| Sample text | 2.18:1 | Fail | Fail | Fail |
| #AFAFB6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.63: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 #AFAFB6 looks to people with the most common types of color vision deficiency.
#aeb0b6Protanopia
no red cones#adafb6Deuteranopia
no green cones#aeb0b1Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #afafb6; }
.text { color: #afafb6; }
.border { border: 2px solid #afafb6; }
.transparent { background-color: rgb(175 175 182 / 50%); }
.gradient { background: linear-gradient(to right, #afafb6, #b3afb6); }
Similar colors
#b3b2bfNebulous December#bdbcc4Silver Fox#a9a8a9Ultimate Gray#b5b6b7Wolfram#b2b2b2Tangled Web#babcc0Microchip#bebec4Moonwalk#a9a9a9Dark Gray
Questions
- What color is #AFAFB6?
- #AFAFB6 is a gray, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #AFAFB6?
- The RGB value is 175, 175, 182: 175 red, 175 green and 182 blue on a 0 to 255 scale.
- What is the complementary color of #AFAFB6?
- The complementary color is #B6B6AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAFB6?
- Black text. Black text has a contrast ratio of 9.63:1 and white text 2.18:1. WCAG asks for at least 4.5:1 for normal text.