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