#9D98A1 color
The hex color #9D98A1 is a gray.
In the RGB color model it is made of 61.6% red, 59.6% green and 63.1% blue (157, 152, 161).
Its hue angle is 273°, with 5% saturation and 61% lightness. For print, the CMYK equivalent is 2% cyan, 6% magenta, 0% yellow and 37% black.
The closest named color is Lunar Light (#9B959C), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.44:1).
#9D98A1 color codes
| HEX | #9D98A1 | |
|---|---|---|
| RGB | rgb(157, 152, 161) | |
| RGB percent | rgb(61.6%, 59.6%, 63.1%) | |
| HSL | hsl(273, 5%, 61%) | |
| HSV / HSB | hsv(273, 6%, 63%) | |
| CMYK | cmyk(2%, 6%, 0%, 37%) | |
| CIE LAB | lab(63.51, 3.55, -4.06) | |
| CIE LCH | lch(63.51, 5.39, 311.21) | |
| CIE XYZ | xyz(31.565, 32.198, 38.263) | |
| Decimal | 10328225 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D98A1, 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 #9D98A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.44:1 | Pass | Pass | Pass |
| Sample text | 2.82:1 | Fail | Fail | Fail |
| #9D98A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44: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 #9D98A1 looks to people with the most common types of color vision deficiency.
#979aa1Protanopia
no red cones#989aa1Deuteranopia
no green cones#9d999bTritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #9d98a1; }
.text { color: #9d98a1; }
.border { border: 2px solid #9d98a1; }
.transparent { background-color: rgb(157 152 161 / 50%); }
.gradient { background: linear-gradient(to right, #9d98a1, #a198a1); }
Similar colors
#9b959cLunar Light#9998a7Lavender Ash#9698a3Dark Ages#a3999cWalkway#9596a4Too Big to Whale#9999aaMachinery#979ba8Dusky Mood#948e90Hong Kong Mist
Closest common color name: Dark Gray.
Questions
- What color is #9D98A1?
- #9D98A1 is a gray, closest to the named color Lunar Light. It belongs to the gray family of colors.
- What is the RGB value of #9D98A1?
- The RGB value is 157, 152, 161: 157 red, 152 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #9D98A1?
- The complementary color is #9CA198, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D98A1?
- Black text. Black text has a contrast ratio of 7.44:1 and white text 2.82:1. WCAG asks for at least 4.5:1 for normal text.