#AFA8B8 color
The hex color #AFA8B8 is a light, grayish violet.
In the RGB color model it is made of 68.6% red, 65.9% green and 72.2% blue (175, 168, 184).
Its hue angle is 266°, with 10% saturation and 69% lightness. For print, the CMYK equivalent is 5% cyan, 9% magenta, 0% yellow and 28% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.12:1).
#AFA8B8 color codes
| HEX | #AFA8B8 | |
|---|---|---|
| RGB | rgb(175, 168, 184) | |
| RGB percent | rgb(68.6%, 65.9%, 72.2%) | |
| HSL | hsl(266, 10%, 69%) | |
| HSV / HSB | hsv(266, 9%, 72%) | |
| CMYK | cmyk(5%, 9%, 0%, 28%) | |
| CIE LAB | lab(69.88, 5.55, -7.3) | |
| CIE LCH | lch(69.88, 9.17, 307.27) | |
| CIE XYZ | xyz(40.332, 40.58, 51.046) | |
| Decimal | 11511992 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA8B8, 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 #AFA8B8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.12:1 | Pass | Pass | Pass |
| Sample text | 2.3:1 | Fail | Fail | Fail |
| #AFA8B8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.12: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 #AFA8B8 looks to people with the most common types of color vision deficiency.
#a6aab9Protanopia
no red cones#a7abb7Deuteranopia
no green cones#aeaaadTritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #afa8b8; }
.text { color: #afa8b8; }
.border { border: 2px solid #afa8b8; }
.transparent { background-color: rgb(175 168 184 / 50%); }
.gradient { background: linear-gradient(to right, #afa8b8, #b7a8b8); }
Similar colors
#b3b2bfNebulous December#bdbaceBlue Haze#b7a5adFoggy Plum#b8b9cbCosmic#9999aaMachinery#9998a7Lavender Ash#c4bad2Fog Syringa#c1acc3Monet Magic
Closest common color name: Pastel Purple.
Questions
- What color is #AFA8B8?
- #AFA8B8 is a light, grayish violet, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #AFA8B8?
- The RGB value is 175, 168, 184: 175 red, 168 green and 184 blue on a 0 to 255 scale.
- What is the complementary color of #AFA8B8?
- The complementary color is #B1B8A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA8B8?
- Black text. Black text has a contrast ratio of 9.12:1 and white text 2.3:1. WCAG asks for at least 4.5:1 for normal text.