#A1A8AB color
The hex color #A1A8AB is a gray.
In the RGB color model it is made of 63.1% red, 65.9% green and 67.1% blue (161, 168, 171).
Its hue angle is 198°, with 6% saturation and 65% lightness. For print, the CMYK equivalent is 6% cyan, 2% magenta, 0% yellow and 33% black.
The closest named color is Statuary (#9EA4A5), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.7:1).
#A1A8AB color codes
| HEX | #A1A8AB | |
|---|---|---|
| RGB | rgb(161, 168, 171) | |
| RGB percent | rgb(63.1%, 65.9%, 67.1%) | |
| HSL | hsl(198, 6%, 65%) | |
| HSV / HSB | hsv(198, 6%, 67%) | |
| CMYK | cmyk(6%, 2%, 0%, 33%) | |
| CIE LAB | lab(68.4, -1.88, -2.4) | |
| CIE LCH | lch(68.4, 3.05, 231.97) | |
| CIE XYZ | xyz(36.05, 38.522, 44.056) | |
| Decimal | 10594475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1A8AB, 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 #A1A8AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.7:1 | Pass | Pass | Pass |
| Sample text | 2.41:1 | Fail | Fail | Fail |
| #A1A8AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.7: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 #A1A8AB looks to people with the most common types of color vision deficiency.
#a6a8abProtanopia
no red cones#a5a6abDeuteranopia
no green cones#9fa9a9Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #a1a8ab; }
.text { color: #a1a8ab; }
.border { border: 2px solid #a1a8ab; }
.transparent { background-color: rgb(161 168 171 / 50%); }
.gradient { background: linear-gradient(to right, #a1a8ab, #a1a3ab); }
Similar colors
#9ea4a5Statuary#9fa5a5Silent Film#a1a9a9Crown of Ash#979ea1Happy Cement#a8a9a8Elephant in the Room#a7a7a7Moon Landing#a6a6a6Quicksilver#a9a9a9Dark Gray
Questions
- What color is #A1A8AB?
- #A1A8AB is a gray, closest to the named color Statuary. It belongs to the gray family of colors.
- What is the RGB value of #A1A8AB?
- The RGB value is 161, 168, 171: 161 red, 168 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A1A8AB?
- The complementary color is #ABA4A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1A8AB?
- Black text. Black text has a contrast ratio of 8.7:1 and white text 2.41:1. WCAG asks for at least 4.5:1 for normal text.