#9B797D color
The hex color #9B797D is a grayish red.
In the RGB color model it is made of 60.8% red, 47.5% green and 49% blue (155, 121, 125).
Its hue angle is 353°, with 15% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 22% magenta, 19% yellow and 39% black.
The closest named color is Opium (#987E7E), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.42:1).
#9B797D color codes
| HEX | #9B797D | |
|---|---|---|
| RGB | rgb(155, 121, 125) | |
| RGB percent | rgb(60.8%, 47.5%, 49%) | |
| HSL | hsl(353, 15%, 54%) | |
| HSV / HSB | hsv(353, 22%, 61%) | |
| CMYK | cmyk(0%, 22%, 19%, 39%) | |
| CIE LAB | lab(54.16, 13.87, 2.9) | |
| CIE LCH | lch(54.16, 14.17, 11.79) | |
| CIE XYZ | xyz(24.057, 22.125, 22.401) | |
| Decimal | 10189181 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B797D, 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 #9B797D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.42:1 | Pass | Fail | Pass |
| Sample text | 3.87:1 | Fail | Fail | Pass |
| #9B797D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.87:1 | Fail | Fail | Pass |
| Sample text | 5.42: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 #9B797D looks to people with the most common types of color vision deficiency.
#7e7e7dProtanopia
no red cones#86847cDeuteranopia
no green cones#a2767aTritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #9b797d; }
.text { color: #9b797d; }
.border { border: 2px solid #9b797d; }
.transparent { background-color: rgb(155 121 125 / 50%); }
.gradient { background: linear-gradient(to right, #9b797d, #9b8679); }
Similar colors
#987e7eOpium#8f7f85Mighty Mauve#a67283Never Forget#91788cMuted Berry#987d73Hemp#a07569Equestrienne#b68692Punched Pink#948593Femme Fatale
Closest common color name: Rosy Brown.
Questions
- What color is #9B797D?
- #9B797D is a grayish red, closest to the named color Opium. It belongs to the red family of colors.
- What is the RGB value of #9B797D?
- The RGB value is 155, 121, 125: 155 red, 121 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #9B797D?
- The complementary color is #799B97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B797D?
- Black text. Black text has a contrast ratio of 5.42:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.