#A5A1A7 color
The hex color #A5A1A7 is a gray.
In the RGB color model it is made of 64.7% red, 63.1% green and 65.5% blue (165, 161, 167).
Its hue angle is 280°, with 3% saturation and 64% lightness. For print, the CMYK equivalent is 1% cyan, 4% magenta, 0% yellow and 35% black.
The closest named color is Walkway (#A3999C), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.26:1).
#A5A1A7 color codes
| HEX | #A5A1A7 | |
|---|---|---|
| RGB | rgb(165, 161, 167) | |
| RGB percent | rgb(64.7%, 63.1%, 65.5%) | |
| HSL | hsl(280, 3%, 64%) | |
| HSV / HSB | hsv(280, 4%, 65%) | |
| CMYK | cmyk(1%, 4%, 0%, 35%) | |
| CIE LAB | lab(66.73, 2.58, -2.6) | |
| CIE LCH | lch(66.73, 3.66, 314.81) | |
| CIE XYZ | xyz(35.236, 36.279, 41.698) | |
| Decimal | 10854823 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A1A7, 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 #A5A1A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.26:1 | Pass | Pass | Pass |
| Sample text | 2.54:1 | Fail | Fail | Fail |
| #A5A1A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.54:1 | Fail | Fail | Fail |
| Sample text | 8.26: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 #A5A1A7 looks to people with the most common types of color vision deficiency.
#a0a2a7Protanopia
no red cones#a1a2a7Deuteranopia
no green cones#a5a2a3Tritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #a5a1a7; }
.text { color: #a5a1a7; }
.border { border: 2px solid #a5a1a7; }
.transparent { background-color: rgb(165 161 167 / 50%); }
.gradient { background: linear-gradient(to right, #a5a1a7, #a7a1a6); }
Similar colors
#a3999cWalkway#9b959cLunar Light#a9a8a9Ultimate Gray#a6a6a6Quicksilver#a7a7a7Moon Landing#a3a2a1Shadow of the Colossus#9698a3Dark Ages#a9a9a9Dark Gray
Questions
- What color is #A5A1A7?
- #A5A1A7 is a gray, closest to the named color Walkway. It belongs to the gray family of colors.
- What is the RGB value of #A5A1A7?
- The RGB value is 165, 161, 167: 165 red, 161 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #A5A1A7?
- The complementary color is #A3A7A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A1A7?
- Black text. Black text has a contrast ratio of 8.26:1 and white text 2.54:1. WCAG asks for at least 4.5:1 for normal text.