#A1A5AF color
The hex color #A1A5AF is a light, grayish blue.
In the RGB color model it is made of 63.1% red, 64.7% green and 68.6% blue (161, 165, 175).
Its hue angle is 223°, with 8% saturation and 66% lightness. For print, the CMYK equivalent is 8% cyan, 6% magenta, 0% yellow and 31% black.
The closest named color is Dusky Mood (#979BA8), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.52:1).
#A1A5AF color codes
| HEX | #A1A5AF | |
|---|---|---|
| RGB | rgb(161, 165, 175) | |
| RGB percent | rgb(63.1%, 64.7%, 68.6%) | |
| HSL | hsl(223, 8%, 66%) | |
| HSV / HSB | hsv(223, 8%, 69%) | |
| CMYK | cmyk(8%, 6%, 0%, 31%) | |
| CIE LAB | lab(67.71, 0.57, -5.65) | |
| CIE LCH | lch(67.71, 5.67, 275.73) | |
| CIE XYZ | xyz(35.889, 37.582, 45.912) | |
| Decimal | 10593711 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1A5AF, 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 #A1A5AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.52:1 | Pass | Pass | Pass |
| Sample text | 2.47:1 | Fail | Fail | Fail |
| #A1A5AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.52: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 #A1A5AF looks to people with the most common types of color vision deficiency.
#a2a6b0Protanopia
no red cones#a1a4afDeuteranopia
no green cones#9ea7a8Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #a1a5af; }
.text { color: #a1a5af; }
.border { border: 2px solid #a1a5af; }
.transparent { background-color: rgb(161 165 175 / 50%); }
.gradient { background: linear-gradient(to right, #a1a5af, #a4a1af); }
Similar colors
#979ba8Dusky Mood#9698a3Dark Ages#94a2b1Robotic Gods#a9a8a9Ultimate Gray#91979fGrisaille#979ea1Happy Cement#a6a6a6Quicksilver#a7a7a7Moon Landing
Closest common color name: Dark Gray.
Questions
- What color is #A1A5AF?
- #A1A5AF is a light, grayish blue, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #A1A5AF?
- The RGB value is 161, 165, 175: 161 red, 165 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #A1A5AF?
- The complementary color is #AFABA1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1A5AF?
- Black text. Black text has a contrast ratio of 8.52:1 and white text 2.47:1. WCAG asks for at least 4.5:1 for normal text.