#9897A2 color
The hex color #9897A2 is a gray.
In the RGB color model it is made of 59.6% red, 59.2% green and 63.5% blue (152, 151, 162).
Its hue angle is 245°, with 6% saturation and 61% lightness. For print, the CMYK equivalent is 6% cyan, 7% magenta, 0% yellow and 36% black.
The closest named color is Too Big to Whale (#9596A4), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.28:1).
#9897A2 color codes
| HEX | #9897A2 | |
|---|---|---|
| RGB | rgb(152, 151, 162) | |
| RGB percent | rgb(59.6%, 59.2%, 63.5%) | |
| HSL | hsl(245, 6%, 61%) | |
| HSV / HSB | hsv(245, 7%, 64%) | |
| CMYK | cmyk(6%, 7%, 0%, 36%) | |
| CIE LAB | lab(62.86, 2.54, -5.62) | |
| CIE LCH | lch(62.86, 6.17, 294.32) | |
| CIE XYZ | xyz(30.536, 31.417, 38.631) | |
| Decimal | 10000290 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9897A2, 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 #9897A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.28:1 | Pass | Pass | Pass |
| Sample text | 2.88:1 | Fail | Fail | Fail |
| #9897A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.88:1 | Fail | Fail | Fail |
| Sample text | 7.28: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 #9897A2 looks to people with the most common types of color vision deficiency.
#9598a3Protanopia
no red cones#9598a2Deuteranopia
no green cones#96999aTritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #9897a2; }
.text { color: #9897a2; }
.border { border: 2px solid #9897a2; }
.transparent { background-color: rgb(152 151 162 / 50%); }
.gradient { background: linear-gradient(to right, #9897a2, #9e97a2); }
Similar colors
#9596a4Too Big to Whale#9698a3Dark Ages#9998a7Lavender Ash#979ba8Dusky Mood#9999aaMachinery#9b959cLunar Light#91979fGrisaille#8d95aaSilverfish
Closest common color name: Cool Gray.
Questions
- What color is #9897A2?
- #9897A2 is a gray, closest to the named color Too Big to Whale. It belongs to the gray family of colors.
- What is the RGB value of #9897A2?
- The RGB value is 152, 151, 162: 152 red, 151 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #9897A2?
- The complementary color is #A1A297, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9897A2?
- Black text. Black text has a contrast ratio of 7.28:1 and white text 2.88:1. WCAG asks for at least 4.5:1 for normal text.