#A7A7B4 color
The hex color #A7A7B4 is a gray.
In the RGB color model it is made of 65.5% red, 65.5% green and 70.6% blue (167, 167, 180).
Its hue angle is 240°, with 8% saturation and 68% lightness. For print, the CMYK equivalent is 7% cyan, 7% magenta, 0% yellow and 29% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.83:1).
#A7A7B4 color codes
| HEX | #A7A7B4 | |
|---|---|---|
| RGB | rgb(167, 167, 180) | |
| RGB percent | rgb(65.5%, 65.5%, 70.6%) | |
| HSL | hsl(240, 8%, 68%) | |
| HSV / HSB | hsv(240, 7%, 71%) | |
| CMYK | cmyk(7%, 7%, 0%, 29%) | |
| CIE LAB | lab(68.86, 2.55, -6.67) | |
| CIE LCH | lch(68.86, 7.14, 290.9) | |
| CIE XYZ | xyz(37.992, 39.148, 48.726) | |
| Decimal | 10987444 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A7A7B4, 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 #A7A7B4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.83:1 | Pass | Pass | Pass |
| Sample text | 2.38:1 | Fail | Fail | Fail |
| #A7A7B4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.83: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 #A7A7B4 looks to people with the most common types of color vision deficiency.
#a4a8b5Protanopia
no red cones#a4a8b4Deuteranopia
no green cones#a5a9abTritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #a7a7b4; }
.text { color: #a7a7b4; }
.border { border: 2px solid #a7a7b4; }
.transparent { background-color: rgb(167 167 180 / 50%); }
.gradient { background: linear-gradient(to right, #a7a7b4, #aea7b4); }
Similar colors
#b3b2bfNebulous December#979ba8Dusky Mood#9999aaMachinery#9998a7Lavender Ash#9698a3Dark Ages#9596a4Too Big to Whale#b8b9cbCosmic#a9a8a9Ultimate Gray
Closest common color name: Dark Gray.
Questions
- What color is #A7A7B4?
- #A7A7B4 is a gray, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #A7A7B4?
- The RGB value is 167, 167, 180: 167 red, 167 green and 180 blue on a 0 to 255 scale.
- What is the complementary color of #A7A7B4?
- The complementary color is #B4B4A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A7A7B4?
- Black text. Black text has a contrast ratio of 8.83:1 and white text 2.38:1. WCAG asks for at least 4.5:1 for normal text.