#9D8E9C color
The hex color #9D8E9C is a gray.
In the RGB color model it is made of 61.6% red, 55.7% green and 61.2% blue (157, 142, 156).
Its hue angle is 304°, with 7% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 1% yellow and 38% black.
The closest named color is Nirvana (#A2919B), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.78:1).
#9D8E9C color codes
| HEX | #9D8E9C | |
|---|---|---|
| RGB | rgb(157, 142, 156) | |
| RGB percent | rgb(61.6%, 55.7%, 61.2%) | |
| HSL | hsl(304, 7%, 59%) | |
| HSV / HSB | hsv(304, 10%, 62%) | |
| CMYK | cmyk(0%, 10%, 1%, 38%) | |
| CIE LAB | lab(60.71, 8.2, -5.36) | |
| CIE LCH | lch(60.71, 9.79, 326.81) | |
| CIE XYZ | xyz(29.578, 28.915, 35.469) | |
| Decimal | 10325660 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D8E9C, 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 #9D8E9C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.78:1 | Pass | Fail | Pass |
| Sample text | 3.1:1 | Fail | Fail | Pass |
| #9D8E9C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.1:1 | Fail | Fail | Pass |
| Sample text | 6.78:1 | Pass | Fail | 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 #9D8E9C looks to people with the most common types of color vision deficiency.
#8d919dProtanopia
no red cones#90939bDeuteranopia
no green cones#9e8f93Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #9d8e9c; }
.text { color: #9d8e9c; }
.border { border: 2px solid #9d8e9c; }
.transparent { background-color: rgb(157 142 156 / 50%); }
.gradient { background: linear-gradient(to right, #9d8e9c, #9d8e95); }
Similar colors
#a2919bNirvana#948593Femme Fatale#95859cHatoba Pigeon#9b959cLunar Light#a3999cWalkway#8f7f85Mighty Mauve#9998a7Lavender Ash#b39eb5Pastel Purple
Questions
- What color is #9D8E9C?
- #9D8E9C is a gray, closest to the named color Nirvana. It belongs to the gray family of colors.
- What is the RGB value of #9D8E9C?
- The RGB value is 157, 142, 156: 157 red, 142 green and 156 blue on a 0 to 255 scale.
- What is the complementary color of #9D8E9C?
- The complementary color is #8E9D8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D8E9C?
- Black text. Black text has a contrast ratio of 6.78:1 and white text 3.1:1. WCAG asks for at least 4.5:1 for normal text.