Casper color: hex code #AAB5B8
Casper has the hex code #AAB5B8. It is a light, grayish cyan.
In the RGB color model it is made of 66.7% red, 71% green and 72.2% blue (170, 181, 184).
Its hue angle is 193°, with 9% saturation and 69% lightness. For print, the CMYK equivalent is 8% cyan, 2% magenta, 0% yellow and 28% black.
Black text is the more readable choice on this background (contrast 10.01:1).
Casper (#AAB5B8) color codes
| HEX | #AAB5B8 | |
|---|---|---|
| RGB | rgb(170, 181, 184) | |
| RGB percent | rgb(66.7%, 71%, 72.2%) | |
| HSL | hsl(193, 9%, 69%) | |
| HSV / HSB | hsv(193, 8%, 72%) | |
| CMYK | cmyk(8%, 2%, 0%, 28%) | |
| CIE LAB | lab(72.93, -3.22, -2.84) | |
| CIE LCH | lch(72.93, 4.3, 221.4) | |
| CIE XYZ | xyz(41.751, 45.054, 51.835) | |
| Decimal | 11187640 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Casper, 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 #AAB5B8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.01:1 | Pass | Pass | Pass |
| Sample text | 2.1:1 | Fail | Fail | Fail |
| #AAB5B8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 10.01: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 #AAB5B8 looks to people with the most common types of color vision deficiency.
#b3b4b8Protanopia
no red cones#b0b2b8Deuteranopia
no green cones#a6b6b6Tritanopia
no blue cones#b3b3b3Achromatopsia
no color vision
CSS examples
.background { background-color: #aab5b8; }
.text { color: #aab5b8; }
.border { border: 2px solid #aab5b8; }
.transparent { background-color: rgb(170 181 184 / 50%); }
.gradient { background: linear-gradient(to right, #aab5b8, #aaaeb8); }
Similar colors
#b0bcc3Stormy#b4b9b9Provence Wind#a1a9a9Crown of Ash#b7c5c6Trade Winds#bcc3c7Metallic#a6bcbeSeafoam Slate#b5b6b7Wolfram#a9afaaPigeon
Closest common color name: Dark Gray.
See #AAB5B8 on its hex code page
Questions
- What color is #AAB5B8?
- #AAB5B8 is a light, grayish cyan known as Casper. It belongs to the gray family of colors.
- What is the RGB value of Casper?
- The RGB value is 170, 181, 184: 170 red, 181 green and 184 blue on a 0 to 255 scale.
- What is the complementary color of Casper?
- The complementary color is #B8ADAA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AAB5B8?
- Black text. Black text has a contrast ratio of 10.01:1 and white text 2.1:1. WCAG asks for at least 4.5:1 for normal text.