#A5A8A1 color
The hex color #A5A8A1 is a gray.
In the RGB color model it is made of 64.7% red, 65.9% green and 63.1% blue (165, 168, 161).
Its hue angle is 86°, with 4% saturation and 65% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 4% yellow and 34% black.
The closest named color is Pigeon (#A9AFAA), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.72:1).
#A5A8A1 color codes
| HEX | #A5A8A1 | |
|---|---|---|
| RGB | rgb(165, 168, 161) | |
| RGB percent | rgb(64.7%, 65.9%, 63.1%) | |
| HSL | hsl(86, 4%, 65%) | |
| HSV / HSB | hsv(86, 4%, 66%) | |
| CMYK | cmyk(2%, 0%, 4%, 34%) | |
| CIE LAB | lab(68.44, -2.38, 3.24) | |
| CIE LCH | lch(68.44, 4.02, 126.34) | |
| CIE XYZ | xyz(35.952, 38.578, 39.264) | |
| Decimal | 10856609 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A8A1, 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 #A5A8A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.72:1 | Pass | Pass | Pass |
| Sample text | 2.41:1 | Fail | Fail | Fail |
| #A5A8A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.72: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 #A5A8A1 looks to people with the most common types of color vision deficiency.
#a9a7a1Protanopia
no red cones#a8a7a1Deuteranopia
no green cones#a5a7a6Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #a5a8a1; }
.text { color: #a5a8a1; }
.border { border: 2px solid #a5a8a1; }
.transparent { background-color: rgb(165 168 161 / 50%); }
.gradient { background: linear-gradient(to right, #a5a8a1, #a2a8a1); }
Similar colors
#a9afaaPigeon#aba9a0Windless Morning#a0a09cGateway Gray#a8a9a8Elephant in the Room#b2b2adSteam Engine#b2b5afMagnetic#9fa5a5Silent Film#acaaa7Cathedral
Closest common color name: Dark Gray.
Questions
- What color is #A5A8A1?
- #A5A8A1 is a gray, closest to the named color Pigeon. It belongs to the gray family of colors.
- What is the RGB value of #A5A8A1?
- The RGB value is 165, 168, 161: 165 red, 168 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #A5A8A1?
- The complementary color is #A4A1A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A8A1?
- Black text. Black text has a contrast ratio of 8.72:1 and white text 2.41:1. WCAG asks for at least 4.5:1 for normal text.