#9898A1 color
The hex color #9898A1 is a gray.
In the RGB color model it is made of 59.6% red, 59.6% green and 63.1% blue (152, 152, 161).
Its hue angle is 240°, with 5% saturation and 61% lightness. For print, the CMYK equivalent is 6% cyan, 6% magenta, 0% yellow and 37% black.
The closest named color is Dark Ages (#9698A3), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.34:1).
#9898A1 color codes
| HEX | #9898A1 | |
|---|---|---|
| RGB | rgb(152, 152, 161) | |
| RGB percent | rgb(59.6%, 59.6%, 63.1%) | |
| HSL | hsl(240, 5%, 61%) | |
| HSV / HSB | hsv(240, 6%, 63%) | |
| CMYK | cmyk(6%, 6%, 0%, 37%) | |
| CIE LAB | lab(63.1, 1.78, -4.7) | |
| CIE LCH | lch(63.1, 5.03, 290.72) | |
| CIE XYZ | xyz(30.609, 31.705, 38.218) | |
| Decimal | 10000545 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9898A1, 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 #9898A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.34:1 | Pass | Pass | Pass |
| Sample text | 2.86:1 | Fail | Fail | Fail |
| #9898A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.86:1 | Fail | Fail | Fail |
| Sample text | 7.34: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 #9898A1 looks to people with the most common types of color vision deficiency.
#9699a1Protanopia
no red cones#9698a1Deuteranopia
no green cones#96999bTritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #9898a1; }
.text { color: #9898a1; }
.border { border: 2px solid #9898a1; }
.transparent { background-color: rgb(152 152 161 / 50%); }
.gradient { background: linear-gradient(to right, #9898a1, #9d98a1); }
Similar colors
#9698a3Dark Ages#9596a4Too Big to Whale#979ba8Dusky Mood#9998a7Lavender Ash#9b959cLunar Light#91979fGrisaille#9999aaMachinery#8c8d91Tin Moon
Closest common color name: Pewter.
Questions
- What color is #9898A1?
- #9898A1 is a gray, closest to the named color Dark Ages. It belongs to the gray family of colors.
- What is the RGB value of #9898A1?
- The RGB value is 152, 152, 161: 152 red, 152 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #9898A1?
- The complementary color is #A1A198, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9898A1?
- Black text. Black text has a contrast ratio of 7.34:1 and white text 2.86:1. WCAG asks for at least 4.5:1 for normal text.