#A1AFB5 color
The hex color #A1AFB5 is a light, grayish azure.
In the RGB color model it is made of 63.1% red, 68.6% green and 71% blue (161, 175, 181).
Its hue angle is 198°, with 12% saturation and 67% lightness. For print, the CMYK equivalent is 11% cyan, 3% magenta, 0% yellow and 29% black.
The closest named color is Casper (#AAB5B8), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.31:1).
#A1AFB5 color codes
| HEX | #A1AFB5 | |
|---|---|---|
| RGB | rgb(161, 175, 181) | |
| RGB percent | rgb(63.1%, 68.6%, 71%) | |
| HSL | hsl(198, 12%, 67%) | |
| HSV / HSB | hsv(198, 11%, 71%) | |
| CMYK | cmyk(11%, 3%, 0%, 29%) | |
| CIE LAB | lab(70.58, -3.65, -4.73) | |
| CIE LCH | lch(70.58, 5.98, 232.39) | |
| CIE XYZ | xyz(38.367, 41.573, 49.71) | |
| Decimal | 10596277 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1AFB5, 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 #A1AFB5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.31:1 | Pass | Pass | Pass |
| Sample text | 2.25:1 | Fail | Fail | Fail |
| #A1AFB5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.31: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 #A1AFB5 looks to people with the most common types of color vision deficiency.
#acaeb5Protanopia
no red cones#a9acb5Deuteranopia
no green cones#9cb1b1Tritanopia
no blue cones#adadadAchromatopsia
no color vision
CSS examples
.background { background-color: #a1afb5; }
.text { color: #a1afb5; }
.border { border: 2px solid #a1afb5; }
.transparent { background-color: rgb(161 175 181 / 50%); }
.gradient { background: linear-gradient(to right, #a1afb5, #a1a5b5); }
Similar colors
#aab5b8Casper#9fafbdLost in Time#a1a9a9Crown of Ash#b0bcc3Stormy#9ea4a5Statuary#9fa5a5Silent Film#9aafafStormy Bay#a6bcbeSeafoam Slate
Closest common color name: Dark Gray.
Questions
- What color is #A1AFB5?
- #A1AFB5 is a light, grayish azure, closest to the named color Casper. It belongs to the gray family of colors.
- What is the RGB value of #A1AFB5?
- The RGB value is 161, 175, 181: 161 red, 175 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #A1AFB5?
- The complementary color is #B5A7A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1AFB5?
- Black text. Black text has a contrast ratio of 9.31:1 and white text 2.25:1. WCAG asks for at least 4.5:1 for normal text.