#A2A8A5 color
The hex color #A2A8A5 is a gray.
In the RGB color model it is made of 63.5% red, 65.9% green and 64.7% blue (162, 168, 165).
Its hue angle is 150°, with 3% saturation and 65% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 2% yellow and 34% black.
The closest named color is Crown of Ash (#A1A9A9), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.68:1).
#A2A8A5 color codes
| HEX | #A2A8A5 | |
|---|---|---|
| RGB | rgb(162, 168, 165) | |
| RGB percent | rgb(63.5%, 65.9%, 64.7%) | |
| HSL | hsl(150, 3%, 65%) | |
| HSV / HSB | hsv(150, 4%, 66%) | |
| CMYK | cmyk(4%, 0%, 2%, 34%) | |
| CIE LAB | lab(68.32, -2.7, 0.81) | |
| CIE LCH | lch(68.32, 2.82, 163.37) | |
| CIE XYZ | xyz(35.693, 38.403, 41.122) | |
| Decimal | 10660005 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2A8A5, 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 #A2A8A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.68:1 | Pass | Pass | Pass |
| Sample text | 2.42:1 | Fail | Fail | Fail |
| #A2A8A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.68: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 #A2A8A5 looks to people with the most common types of color vision deficiency.
#a8a7a5Protanopia
no red cones#a7a6a5Deuteranopia
no green cones#a1a8a7Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #a2a8a5; }
.text { color: #a2a8a5; }
.border { border: 2px solid #a2a8a5; }
.transparent { background-color: rgb(162 168 165 / 50%); }
.gradient { background: linear-gradient(to right, #a2a8a5, #a2a8a8); }
Similar colors
#a1a9a9Crown of Ash#9fa5a5Silent Film#a9afaaPigeon#9ea4a5Statuary#a8a9a8Elephant in the Room#a0a09cGateway Gray#a7a7a7Moon Landing#a6a6a6Quicksilver
Closest common color name: Dark Gray.
Questions
- What color is #A2A8A5?
- #A2A8A5 is a gray, closest to the named color Crown of Ash. It belongs to the gray family of colors.
- What is the RGB value of #A2A8A5?
- The RGB value is 162, 168, 165: 162 red, 168 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #A2A8A5?
- The complementary color is #A8A2A5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2A8A5?
- Black text. Black text has a contrast ratio of 8.68:1 and white text 2.42:1. WCAG asks for at least 4.5:1 for normal text.