#A6A6AB color
The hex color #A6A6AB is a gray.
In the RGB color model it is made of 65.1% red, 65.1% green and 67.1% blue (166, 166, 171).
Its hue angle is 240°, with 3% saturation and 66% lightness. For print, the CMYK equivalent is 3% cyan, 3% magenta, 0% yellow and 33% black.
The closest named color is Ultimate Gray (#A9A8A9), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.66:1).
#A6A6AB color codes
| HEX | #A6A6AB | |
|---|---|---|
| RGB | rgb(166, 166, 171) | |
| RGB percent | rgb(65.1%, 65.1%, 67.1%) | |
| HSL | hsl(240, 3%, 66%) | |
| HSV / HSB | hsv(240, 3%, 67%) | |
| CMYK | cmyk(3%, 3%, 0%, 33%) | |
| CIE LAB | lab(68.26, 0.96, -2.58) | |
| CIE LCH | lch(68.26, 2.75, 290.46) | |
| CIE XYZ | xyz(36.711, 38.32, 43.983) | |
| Decimal | 10921643 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A6A6AB, 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 #A6A6AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.66:1 | Pass | Pass | Pass |
| Sample text | 2.42:1 | Fail | Fail | Fail |
| #A6A6AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.66: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 #A6A6AB looks to people with the most common types of color vision deficiency.
#a5a7abProtanopia
no red cones#a5a6abDeuteranopia
no green cones#a5a7a8Tritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #a6a6ab; }
.text { color: #a6a6ab; }
.border { border: 2px solid #a6a6ab; }
.transparent { background-color: rgb(166 166 171 / 50%); }
.gradient { background: linear-gradient(to right, #a6a6ab, #a9a6ab); }
Similar colors
#a9a8a9Ultimate Gray#a6a6a6Quicksilver#a7a7a7Moon Landing#a9a9a9Dark Gray#a3a2a1Shadow of the Colossus#a8a9a8Elephant in the Room#b2b2b2Tangled Web#9ea4a5Statuary
Questions
- What color is #A6A6AB?
- #A6A6AB is a gray, closest to the named color Ultimate Gray. It belongs to the gray family of colors.
- What is the RGB value of #A6A6AB?
- The RGB value is 166, 166, 171: 166 red, 166 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A6A6AB?
- The complementary color is #ABABA6, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A6A6AB?
- Black text. Black text has a contrast ratio of 8.66:1 and white text 2.42:1. WCAG asks for at least 4.5:1 for normal text.