#A2A2AA color
The hex color #A2A2AA is a gray.
In the RGB color model it is made of 63.5% red, 63.5% green and 66.7% blue (162, 162, 170).
Its hue angle is 240°, with 4% saturation and 65% lightness. For print, the CMYK equivalent is 5% cyan, 5% magenta, 0% yellow and 33% black.
The closest named color is Dusky Mood (#979BA8), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.28:1).
#A2A2AA color codes
| HEX | #A2A2AA | |
|---|---|---|
| RGB | rgb(162, 162, 170) | |
| RGB percent | rgb(63.5%, 63.5%, 66.7%) | |
| HSL | hsl(240, 4%, 65%) | |
| HSV / HSB | hsv(240, 5%, 67%) | |
| CMYK | cmyk(5%, 5%, 0%, 33%) | |
| CIE LAB | lab(66.84, 1.56, -4.14) | |
| CIE LCH | lch(66.84, 4.42, 290.63) | |
| CIE XYZ | xyz(35.075, 36.424, 43.205) | |
| Decimal | 10658474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2A2AA, 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 #A2A2AA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.28:1 | Pass | Pass | Pass |
| Sample text | 2.53:1 | Fail | Fail | Fail |
| #A2A2AA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.28: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 #A2A2AA looks to people with the most common types of color vision deficiency.
#a0a3aaProtanopia
no red cones#a0a2aaDeuteranopia
no green cones#a1a3a4Tritanopia
no blue cones#a3a3a3Achromatopsia
no color vision
CSS examples
.background { background-color: #a2a2aa; }
.text { color: #a2a2aa; }
.border { border: 2px solid #a2a2aa; }
.transparent { background-color: rgb(162 162 170 / 50%); }
.gradient { background: linear-gradient(to right, #a2a2aa, #a6a2aa); }
Similar colors
#979ba8Dusky Mood#9698a3Dark Ages#a9a8a9Ultimate Gray#a6a6a6Quicksilver#9998a7Lavender Ash#a7a7a7Moon Landing#9596a4Too Big to Whale#a9a9a9Dark Gray
Questions
- What color is #A2A2AA?
- #A2A2AA is a gray, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #A2A2AA?
- The RGB value is 162, 162, 170: 162 red, 162 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #A2A2AA?
- The complementary color is #AAAAA2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2A2AA?
- Black text. Black text has a contrast ratio of 8.28:1 and white text 2.53:1. WCAG asks for at least 4.5:1 for normal text.