#9D798B Color Information
Hex color code: #9D798B
The hex color #9D798B is a balanced magenta with RGB values of (157, 121, 139) and HSL of (330°, 16%, 55%). It is frequently seen in web interfaces.
Shades
color: #9D798B; background-color: #9D798B; border-color: #9D798B; box-shadow: 0 0 10px #9D798B; border: 2px solid #9D798B;
bg-[#9D798B] text-[#9D798B] border-[#9D798B] shadow-[0_0_10px_9D798B]
Generate Gradient
background: linear-gradient(90deg, #9D798B, #FF5733);
Preview in UI
Button
Badge
Text Highlight
The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.
Card
Card Title
This card uses your color as a border accent.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #9D798B in the color wheel.
RGB, HSL and CMYK Values
RGB
157, 121, 139
Red: 157 / Green: 121 / Blue: 139
HSL
330°, 16%, 55%
Hue: 330° / Saturation: 16% / Lightness: 55%
CMYK
0%, 23%, 11%, 38%
Cyan: 0% / Magenta: 23% / Yellow: 11% / Key: 38%
What color is #9D798B?
#9D798B is a red-orange hue associated with warmth and passion.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#9D798B is a understated magenta color with RGB values of 157, 121, 139 and HSL of 330°, 16%, 55%. This red-orange hue evokes warmth and passion, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #9D798B is #7A9F8C, creating high-contrast pairings. For softer combinations, try analogous colors like #9F7A9F.
Use #9D798B in CSS: color: #9D798B or background-color: #9D798B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #9D798B
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #9D798B?
#9D798B is a understated magenta color - a red-orange hue that evokes warmth and passion.
What is the RGB value of #9D798B?
#9D798B in RGB is (157, 121, 139) - 157 red, 121 green, and 139 blue.
How to use #9D798B in CSS?
Use #9D798B directly in your CSS properties like color or background-color.