#9D9FAB color
The hex color #9D9FAB is a gray.
In the RGB color model it is made of 61.6% red, 62.4% green and 67.1% blue (157, 159, 171).
Its hue angle is 231°, with 8% saturation and 64% lightness. For print, the CMYK equivalent is 8% cyan, 7% magenta, 0% yellow and 33% black.
The closest named color is Dusky Mood (#979BA8), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.98:1).
#9D9FAB color codes
| HEX | #9D9FAB | |
|---|---|---|
| RGB | rgb(157, 159, 171) | |
| RGB percent | rgb(61.6%, 62.4%, 67.1%) | |
| HSL | hsl(231, 8%, 64%) | |
| HSV / HSB | hsv(231, 8%, 67%) | |
| CMYK | cmyk(8%, 7%, 0%, 33%) | |
| CIE LAB | lab(65.67, 1.68, -6.47) | |
| CIE LCH | lch(65.67, 6.68, 284.54) | |
| CIE XYZ | xyz(33.652, 34.904, 43.485) | |
| Decimal | 10330027 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D9FAB, 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 #9D9FAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.98:1 | Pass | Pass | Pass |
| Sample text | 2.63:1 | Fail | Fail | Fail |
| #9D9FAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.63:1 | Fail | Fail | Fail |
| Sample text | 7.98: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 #9D9FAB looks to people with the most common types of color vision deficiency.
#9ca0acProtanopia
no red cones#9b9fabDeuteranopia
no green cones#9aa1a3Tritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #9d9fab; }
.text { color: #9d9fab; }
.border { border: 2px solid #9d9fab; }
.transparent { background-color: rgb(157 159 171 / 50%); }
.gradient { background: linear-gradient(to right, #9d9fab, #a29dab); }
Similar colors
#979ba8Dusky Mood#9698a3Dark Ages#9596a4Too Big to Whale#9998a7Lavender Ash#9999aaMachinery#91979fGrisaille#9b959cLunar Light#8d95aaSilverfish
Closest common color name: Dark Gray.
Questions
- What color is #9D9FAB?
- #9D9FAB is a gray, closest to the named color Dusky Mood. It belongs to the gray family of colors.
- What is the RGB value of #9D9FAB?
- The RGB value is 157, 159, 171: 157 red, 159 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #9D9FAB?
- The complementary color is #ABA99D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D9FAB?
- Black text. Black text has a contrast ratio of 7.98:1 and white text 2.63:1. WCAG asks for at least 4.5:1 for normal text.