#A1A7A1 color
The hex color #A1A7A1 is a gray.
In the RGB color model it is made of 63.1% red, 65.5% green and 63.1% blue (161, 167, 161).
Its hue angle is 120°, with 3% saturation and 64% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 4% yellow and 35% black.
The closest named color is Pigeon (#A9AFAA), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.56:1).
#A1A7A1 color codes
| HEX | #A1A7A1 | |
|---|---|---|
| RGB | rgb(161, 167, 161) | |
| RGB percent | rgb(63.1%, 65.5%, 63.1%) | |
| HSL | hsl(120, 3%, 64%) | |
| HSV / HSB | hsv(120, 4%, 65%) | |
| CMYK | cmyk(4%, 0%, 4%, 35%) | |
| CIE LAB | lab(67.86, -3.28, 2.36) | |
| CIE LCH | lch(67.86, 4.04, 144.25) | |
| CIE XYZ | xyz(34.949, 37.788, 39.164) | |
| Decimal | 10594209 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1A7A1, 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 #A1A7A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.56:1 | Pass | Pass | Pass |
| Sample text | 2.45:1 | Fail | Fail | Fail |
| #A1A7A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.56: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 #A1A7A1 looks to people with the most common types of color vision deficiency.
#a7a6a1Protanopia
no red cones#a6a5a1Deuteranopia
no green cones#a1a7a5Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #a1a7a1; }
.text { color: #a1a7a1; }
.border { border: 2px solid #a1a7a1; }
.transparent { background-color: rgb(161 167 161 / 50%); }
.gradient { background: linear-gradient(to right, #a1a7a1, #a1a7a4); }
Similar colors
#a9afaaPigeon#a1a9a9Crown of Ash#9fa5a5Silent Film#a0a09cGateway Gray#9ea4a5Statuary#aba9a0Windless Morning#a8a9a8Elephant in the Room#b2b5afMagnetic
Closest common color name: Dark Gray.
Questions
- What color is #A1A7A1?
- #A1A7A1 is a gray, closest to the named color Pigeon. It belongs to the gray family of colors.
- What is the RGB value of #A1A7A1?
- The RGB value is 161, 167, 161: 161 red, 167 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #A1A7A1?
- The complementary color is #A7A1A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1A7A1?
- Black text. Black text has a contrast ratio of 8.56:1 and white text 2.45:1. WCAG asks for at least 4.5:1 for normal text.