#A1A2AF color
The hex color #A1A2AF is a light, grayish blue.
In the RGB color model it is made of 63.1% red, 63.5% green and 68.6% blue (161, 162, 175).
Its hue angle is 236°, with 8% saturation and 66% lightness. For print, the CMYK equivalent is 8% cyan, 7% magenta, 0% yellow and 31% black.
The closest named color is Dusky Mood (#979BA8), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.3:1).
#A1A2AF color codes
| HEX | #A1A2AF | |
|---|---|---|
| RGB | rgb(161, 162, 175) | |
| RGB percent | rgb(63.1%, 63.5%, 68.6%) | |
| HSL | hsl(236, 8%, 66%) | |
| HSV / HSB | hsv(236, 8%, 69%) | |
| CMYK | cmyk(8%, 7%, 0%, 31%) | |
| CIE LAB | lab(66.91, 2.22, -6.83) | |
| CIE LCH | lch(66.91, 7.18, 287.99) | |
| CIE XYZ | xyz(35.355, 36.513, 45.734) | |
| Decimal | 10592943 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1A2AF, 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 #A1A2AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.3:1 | Pass | Pass | Pass |
| Sample text | 2.53:1 | Fail | Fail | Fail |
| #A1A2AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.3: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 #A1A2AF looks to people with the most common types of color vision deficiency.
#9fa3b0Protanopia
no red cones#9ea2afDeuteranopia
no green cones#9ea4a6Tritanopia
no blue cones#a3a3a3Achromatopsia
no color vision
CSS examples
.background { background-color: #a1a2af; }
.text { color: #a1a2af; }
.border { border: 2px solid #a1a2af; }
.transparent { background-color: rgb(161 162 175 / 50%); }
.gradient { background: linear-gradient(to right, #a1a2af, #a7a1af); }
Similar colors
#979ba8Dusky Mood#9999aaMachinery#9998a7Lavender Ash#9698a3Dark Ages#9596a4Too Big to Whale#b3b2bfNebulous December#9b959cLunar Light#91979fGrisaille
Closest common color name: Dark Gray.
Questions
- What color is #A1A2AF?
- #A1A2AF is a light, grayish blue, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #A1A2AF?
- The RGB value is 161, 162, 175: 161 red, 162 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #A1A2AF?
- The complementary color is #AFAEA1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1A2AF?
- Black text. Black text has a contrast ratio of 8.3:1 and white text 2.53:1. WCAG asks for at least 4.5:1 for normal text.