#9D157B Color Information
Hex color code: #9D157B
#9D157B is a vivid magenta color. In RGB it is (157, 21, 123), and in HSL it is (315°, 76%, 35%). It is commonly used in modern UI design.
Shades
color: #9D157B; background-color: #9D157B; border-color: #9D157B; box-shadow: 0 0 10px #9D157B; border: 2px solid #9D157B;
bg-[#9D157B] text-[#9D157B] border-[#9D157B] shadow-[0_0_10px_9D157B]
Generate Gradient
background: linear-gradient(90deg, #9D157B, #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 #9D157B in the color wheel.
RGB, HSL and CMYK Values
RGB
157, 21, 123
Red: 157 / Green: 21 / Blue: 123
HSL
315°, 76%, 35%
Hue: 315° / Saturation: 76% / Lightness: 35%
CMYK
0%, 87%, 22%, 38%
Cyan: 0% / Magenta: 87% / Yellow: 22% / Key: 38%
What color is #9D157B?
#9D157B is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A eye-catching magenta tone, #9D157B has RGB (157, 21, 123) and HSL (315°, 76%, 35%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #9D157B is #159D37, creating high-contrast pairings. For softer combinations, try analogous colors like #7B159D.
Use #9D157B in CSS: color: #9D157B or background-color: #9D157B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #9D157B
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 #9D157B?
#9D157B is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #9D157B?
#9D157B in RGB is (157, 21, 123) - 157 red, 21 green, and 123 blue.
How to use #9D157B in CSS?
Use #9D157B directly in your CSS properties like color or background-color.