#A2A1A7 color
The hex color #A2A1A7 is a gray.
In the RGB color model it is made of 63.5% red, 63.1% green and 65.5% blue (162, 161, 167).
Its hue angle is 250°, with 3% saturation and 64% lightness. For print, the CMYK equivalent is 3% cyan, 4% magenta, 0% yellow and 35% black.
The closest named color is Ultimate Gray (#A9A8A9), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.19:1).
#A2A1A7 color codes
| HEX | #A2A1A7 | |
|---|---|---|
| RGB | rgb(162, 161, 167) | |
| RGB percent | rgb(63.5%, 63.1%, 65.5%) | |
| HSL | hsl(250, 3%, 64%) | |
| HSV / HSB | hsv(250, 4%, 65%) | |
| CMYK | cmyk(3%, 4%, 0%, 35%) | |
| CIE LAB | lab(66.49, 1.52, -2.98) | |
| CIE LCH | lch(66.49, 3.34, 296.96) | |
| CIE XYZ | xyz(34.619, 35.961, 41.669) | |
| Decimal | 10658215 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2A1A7, 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 #A2A1A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.19:1 | Pass | Pass | Pass |
| Sample text | 2.56:1 | Fail | Fail | Fail |
| #A2A1A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.19: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 #A2A1A7 looks to people with the most common types of color vision deficiency.
#a0a2a7Protanopia
no red cones#a0a2a7Deuteranopia
no green cones#a1a2a3Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #a2a1a7; }
.text { color: #a2a1a7; }
.border { border: 2px solid #a2a1a7; }
.transparent { background-color: rgb(162 161 167 / 50%); }
.gradient { background: linear-gradient(to right, #a2a1a7, #a5a1a7); }
Similar colors
#a9a8a9Ultimate Gray#a6a6a6Quicksilver#a7a7a7Moon Landing#9698a3Dark Ages#a3a2a1Shadow of the Colossus#a9a9a9Dark Gray#979ba8Dusky Mood#9b959cLunar Light
Questions
- What color is #A2A1A7?
- #A2A1A7 is a gray, closest to the named color Ultimate Gray. It belongs to the gray family of colors.
- What is the RGB value of #A2A1A7?
- The RGB value is 162, 161, 167: 162 red, 161 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #A2A1A7?
- The complementary color is #A6A7A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2A1A7?
- Black text. Black text has a contrast ratio of 8.19:1 and white text 2.56:1. WCAG asks for at least 4.5:1 for normal text.