#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.

Try:
Color NameDark Magenta
HEX
#9D157B
RGB
157, 21, 123
HSL
315°, 76%, 35%
CMYK
0%, 87%, 22%, 38%

Shades

CSS Usage
color: #9D157B;
background-color: #9D157B;
border-color: #9D157B;
box-shadow: 0 0 10px #9D157B;
border: 2px solid #9D157B;
Tailwind Usage
bg-[#9D157B]
text-[#9D157B]
border-[#9D157B]
shadow-[0_0_10px_9D157B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9D157B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9D157B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #9D157B; color: #FFFFFF; }

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.

.card-accent { border: 2px solid #9D157B; background-color: #9D157B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9D157B20; border-left: 4px solid #9D157B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #9D157B; }

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.

Current Complementary Triadic Analogous

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

HEX to RGB

Convert #9D157B to RGB:

rgb(157, 21, 123)HEX to RGB Converter →

HEX to HSL

Convert #9D157B to HSL:

hsl(315, 76%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #9D157B to CMYK:

cmyk(0%, 87%, 22%, 38%)Color Converter →

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.

Contrast Ratio: 2.83:1
WCAG AA: Fail
WCAG AAA: Fail

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.

What colors go well with #9D157B?

#159D37 (complementary), #7B159D (analogous), and #5A0C46 (lighter shade) work well with #9D157B.