#9E157C Color Information

Hex color code: #9E157C

#9E157C is a bold magenta color. In RGB it is (158, 21, 124), and in HSL it is (315°, 77%, 35%). It is frequently seen in web interfaces.

Try:
Color NameDark Magenta
HEX
#9E157C
RGB
158, 21, 124
HSL
315°, 77%, 35%
CMYK
0%, 87%, 22%, 38%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9E157C; 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 #9E157C; background-color: #9E157C15; }

Alert / Toast

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

Link / Accent

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

a { color: #9E157C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9E157C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

158, 21, 124

Red: 158 / Green: 21 / Blue: 124

HSL

315°, 77%, 35%

Hue: 315° / Saturation: 77% / Lightness: 35%

CMYK

0%, 87%, 22%, 38%

Cyan: 0% / Magenta: 87% / Yellow: 22% / Key: 38%

What color is #9E157C?

#9E157C is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9E157C to RGB:

rgb(158, 21, 124)HEX to RGB Converter →

HEX to HSL

Convert #9E157C to HSL:

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

HEX to CMYK

Convert #9E157C to CMYK:

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

Color Meaning and Usage

#9E157C is a eye-catching magenta color with RGB values of 158, 21, 124 and HSL of 315°, 77%, 35%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9E157C is #159E37, creating high-contrast pairings. For softer combinations, try analogous colors like #7C159E.

Use #9E157C in CSS: color: #9E157C or background-color: #9E157C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #9E157C

Sample text on this color - The quick brown fox jumps over the lazy dog.

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9E157C?

#9E157C is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9E157C?

#9E157C in RGB is (158, 21, 124) - 158 red, 21 green, and 124 blue.

How to use #9E157C in CSS?

Use #9E157C directly in your CSS properties like color or background-color.

What colors go well with #9E157C?

#159E37 (complementary), #7C159E (analogous), and #5A0C47 (lighter shade) work well with #9E157C.