#A7A8AA color
The hex color #A7A8AA is a gray.
In the RGB color model it is made of 65.5% red, 65.9% green and 66.7% blue (167, 168, 170).
Its hue angle is 220°, with 2% saturation and 66% lightness. For print, the CMYK equivalent is 2% cyan, 1% magenta, 0% yellow and 33% black.
The closest named color is Ultimate Gray (#A9A8A9), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.82:1).
#A7A8AA color codes
| HEX | #A7A8AA | |
|---|---|---|
| RGB | rgb(167, 168, 170) | |
| RGB percent | rgb(65.5%, 65.9%, 66.7%) | |
| HSL | hsl(220, 2%, 66%) | |
| HSV / HSB | hsv(220, 2%, 67%) | |
| CMYK | cmyk(2%, 1%, 0%, 33%) | |
| CIE LAB | lab(68.84, 0.03, -1.15) | |
| CIE LCH | lch(68.84, 1.15, 271.33) | |
| CIE XYZ | xyz(37.193, 39.123, 43.614) | |
| Decimal | 10987690 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A7A8AA, 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 #A7A8AA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.82:1 | Pass | Pass | Pass |
| Sample text | 2.38:1 | Fail | Fail | Fail |
| #A7A8AA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.82: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 #A7A8AA looks to people with the most common types of color vision deficiency.
#a7a8aaProtanopia
no red cones#a7a8aaDeuteranopia
no green cones#a6a8a9Tritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #a7a8aa; }
.text { color: #a7a8aa; }
.border { border: 2px solid #a7a8aa; }
.transparent { background-color: rgb(167 168 170 / 50%); }
.gradient { background: linear-gradient(to right, #a7a8aa, #a8a7aa); }
Similar colors
#a9a8a9Ultimate Gray#a7a7a7Moon Landing#a9a9a9Dark Gray#a6a6a6Quicksilver#a8a9a8Elephant in the Room#a3a2a1Shadow of the Colossus#acaaa7Cathedral#b2b2b2Tangled Web
Questions
- What color is #A7A8AA?
- #A7A8AA is a gray, closest to the named color Ultimate Gray. It belongs to the gray family of colors.
- What is the RGB value of #A7A8AA?
- The RGB value is 167, 168, 170: 167 red, 168 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #A7A8AA?
- The complementary color is #AAA9A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A7A8AA?
- Black text. Black text has a contrast ratio of 8.82:1 and white text 2.38:1. WCAG asks for at least 4.5:1 for normal text.