#A5B1AB color
The hex color #A5B1AB is a gray.
In the RGB color model it is made of 64.7% red, 69.4% green and 67.1% blue (165, 177, 171).
Its hue angle is 150°, with 7% saturation and 67% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 3% yellow and 31% black.
The closest named color is Alpine Air (#A9B4A9), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.48:1).
#A5B1AB color codes
| HEX | #A5B1AB | |
|---|---|---|
| RGB | rgb(165, 177, 171) | |
| RGB percent | rgb(64.7%, 69.4%, 67.1%) | |
| HSL | hsl(150, 7%, 67%) | |
| HSV / HSB | hsv(150, 7%, 69%) | |
| CMYK | cmyk(7%, 0%, 3%, 31%) | |
| CIE LAB | lab(71.13, -5.35, 1.62) | |
| CIE LCH | lch(71.13, 5.59, 163.1) | |
| CIE XYZ | xyz(38.588, 42.384, 44.668) | |
| Decimal | 10858923 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5B1AB, 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 #A5B1AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.48:1 | Pass | Pass | Pass |
| Sample text | 2.22:1 | Fail | Fail | Fail |
| #A5B1AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.48: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 #A5B1AB looks to people with the most common types of color vision deficiency.
#b0afabProtanopia
no red cones#aeadabDeuteranopia
no green cones#a3b1afTritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #a5b1ab; }
.text { color: #a5b1ab; }
.border { border: 2px solid #a5b1ab; }
.transparent { background-color: rgb(165 177 171 / 50%); }
.gradient { background: linear-gradient(to right, #a5b1ab, #a5b1b1); }
Similar colors
#a9b4a9Alpine Air#a9afaaPigeon#b2beb5Ash Gray#9aafafStormy Bay#a1a9a9Crown of Ash#b2b5afMagnetic#aab5b8Casper#b5c0b3Irish Moor
Questions
- What color is #A5B1AB?
- #A5B1AB is a gray, closest to the named color Alpine Air. It belongs to the gray family of colors.
- What is the RGB value of #A5B1AB?
- The RGB value is 165, 177, 171: 165 red, 177 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A5B1AB?
- The complementary color is #B1A5AB, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5B1AB?
- Black text. Black text has a contrast ratio of 9.48:1 and white text 2.22:1. WCAG asks for at least 4.5:1 for normal text.