#A6A2AB color
The hex color #A6A2AB is a gray.
In the RGB color model it is made of 65.1% red, 63.5% green and 67.1% blue (166, 162, 171).
Its hue angle is 267°, with 5% saturation and 65% lightness. For print, the CMYK equivalent is 3% cyan, 5% magenta, 0% yellow and 33% black.
The closest named color is Lunar Light (#9B959C), a difference of 4.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.38:1).
#A6A2AB color codes
| HEX | #A6A2AB | |
|---|---|---|
| RGB | rgb(166, 162, 171) | |
| RGB percent | rgb(65.1%, 63.5%, 67.1%) | |
| HSL | hsl(267, 5%, 65%) | |
| HSV / HSB | hsv(267, 5%, 67%) | |
| CMYK | cmyk(3%, 5%, 0%, 33%) | |
| CIE LAB | lab(67.19, 3.16, -4.14) | |
| CIE LCH | lch(67.19, 5.21, 307.34) | |
| CIE XYZ | xyz(35.996, 36.888, 43.744) | |
| Decimal | 10920619 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A6A2AB, 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 #A6A2AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.38:1 | Pass | Pass | Pass |
| Sample text | 2.51:1 | Fail | Fail | Fail |
| #A6A2AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.38: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 #A6A2AB looks to people with the most common types of color vision deficiency.
#a1a3abProtanopia
no red cones#a1a4abDeuteranopia
no green cones#a5a3a5Tritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #a6a2ab; }
.text { color: #a6a2ab; }
.border { border: 2px solid #a6a2ab; }
.transparent { background-color: rgb(166 162 171 / 50%); }
.gradient { background: linear-gradient(to right, #a6a2ab, #aba2ab); }
Similar colors
#9b959cLunar Light#9998a7Lavender Ash#a3999cWalkway#9698a3Dark Ages#9999aaMachinery#979ba8Dusky Mood#a9a8a9Ultimate Gray#b3b2bfNebulous December
Closest common color name: Dark Gray.
Questions
- What color is #A6A2AB?
- #A6A2AB is a gray, closest to the named color Lunar Light. It belongs to the gray family of colors.
- What is the RGB value of #A6A2AB?
- The RGB value is 166, 162, 171: 166 red, 162 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A6A2AB?
- The complementary color is #A7ABA2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A6A2AB?
- Black text. Black text has a contrast ratio of 8.38:1 and white text 2.51:1. WCAG asks for at least 4.5:1 for normal text.