#A6ABAB color
The hex color #A6ABAB is a gray.
In the RGB color model it is made of 65.1% red, 67.1% green and 67.1% blue (166, 171, 171).
Its hue angle is 180°, with 3% saturation and 66% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 0% yellow and 33% black.
The closest named color is Crown of Ash (#A1A9A9), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.03:1).
#A6ABAB color codes
| HEX | #A6ABAB | |
|---|---|---|
| RGB | rgb(166, 171, 171) | |
| RGB percent | rgb(65.1%, 67.1%, 67.1%) | |
| HSL | hsl(180, 3%, 66%) | |
| HSV / HSB | hsv(180, 3%, 67%) | |
| CMYK | cmyk(3%, 0%, 0%, 33%) | |
| CIE LAB | lab(69.59, -1.76, -0.62) | |
| CIE LCH | lch(69.59, 1.87, 199.25) | |
| CIE XYZ | xyz(37.638, 40.173, 44.291) | |
| Decimal | 10922923 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A6ABAB, 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 #A6ABAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.03:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #A6ABAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.03: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 #A6ABAB looks to people with the most common types of color vision deficiency.
#aaaaabProtanopia
no red cones#a9aaabDeuteranopia
no green cones#a5ababTritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #a6abab; }
.text { color: #a6abab; }
.border { border: 2px solid #a6abab; }
.transparent { background-color: rgb(166 171 171 / 50%); }
.gradient { background: linear-gradient(to right, #a6abab, #a6a9ab); }
Similar colors
#a1a9a9Crown of Ash#9fa5a5Silent Film#a8a9a8Elephant in the Room#9ea4a5Statuary#a9a9a9Dark Gray#a7a7a7Moon Landing#a6a6a6Quicksilver#a9afaaPigeon
Questions
- What color is #A6ABAB?
- #A6ABAB is a gray, closest to the named color Crown of Ash. It belongs to the gray family of colors.
- What is the RGB value of #A6ABAB?
- The RGB value is 166, 171, 171: 166 red, 171 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A6ABAB?
- The complementary color is #ABA6A6, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A6ABAB?
- Black text. Black text has a contrast ratio of 9.03:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.