#9D797C color
The hex color #9D797C is a grayish red.
In the RGB color model it is made of 61.6% red, 47.5% green and 48.6% blue (157, 121, 124).
Its hue angle is 355°, with 16% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 21% yellow and 38% black.
The closest named color is Opium (#987E7E), a difference of 3.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.46:1).
#9D797C color codes
| HEX | #9D797C | |
|---|---|---|
| RGB | rgb(157, 121, 124) | |
| RGB percent | rgb(61.6%, 47.5%, 48.6%) | |
| HSL | hsl(355, 16%, 55%) | |
| HSV / HSB | hsv(355, 23%, 62%) | |
| CMYK | cmyk(0%, 23%, 21%, 38%) | |
| CIE LAB | lab(54.34, 14.49, 3.77) | |
| CIE LCH | lch(54.34, 14.97, 14.59) | |
| CIE XYZ | xyz(24.38, 22.299, 22.085) | |
| Decimal | 10320252 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D797C, 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 #9D797C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.46:1 | Pass | Fail | Pass |
| Sample text | 3.85:1 | Fail | Fail | Pass |
| #9D797C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.85:1 | Fail | Fail | Pass |
| Sample text | 5.46: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 #9D797C looks to people with the most common types of color vision deficiency.
#7f7e7cProtanopia
no red cones#87847bDeuteranopia
no green cones#a4767aTritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #9d797c; }
.text { color: #9d797c; }
.border { border: 2px solid #9d797c; }
.transparent { background-color: rgb(157 121 124 / 50%); }
.gradient { background: linear-gradient(to right, #9d797c, #9d8879); }
Similar colors
#987e7eOpium#a67283Never Forget#a07569Equestrienne#8f7f85Mighty Mauve#987d73Hemp#b68692Punched Pink#91788cMuted Berry#b18377Dusty Duchess
Closest common color name: Rose Gold.
Questions
- What color is #9D797C?
- #9D797C is a grayish red, closest to the named color Opium. It belongs to the red family of colors.
- What is the RGB value of #9D797C?
- The RGB value is 157, 121, 124: 157 red, 121 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #9D797C?
- The complementary color is #799D9A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D797C?
- Black text. Black text has a contrast ratio of 5.46:1 and white text 3.85:1. WCAG asks for at least 4.5:1 for normal text.