#E51F9C Color Information

Hex color code: #E51F9C

The hex color #E51F9C is a vivid magenta with RGB values of (229, 31, 156) and HSL of (322°, 79%, 51%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#E51F9C
RGB
229, 31, 156
HSL
322°, 79%, 51%
CMYK
0%, 86%, 32%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #E51F9C; color: #000000; }

Badge

New Feature
.badge { background-color: #E51F9C; color: #000000; }

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 #E51F9C; background-color: #E51F9C15; }

Alert / Toast

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

Link / Accent

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

a { color: #E51F9C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #E51F9C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

229, 31, 156

Red: 229 / Green: 31 / Blue: 156

HSL

322°, 79%, 51%

Hue: 322° / Saturation: 79% / Lightness: 51%

CMYK

0%, 86%, 32%, 10%

Cyan: 0% / Magenta: 86% / Yellow: 32% / Key: 10%

What color is #E51F9C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E51F9C to RGB:

rgb(229, 31, 156)HEX to RGB Converter →

HEX to HSL

Convert #E51F9C to HSL:

hsl(322, 79%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #E51F9C to CMYK:

cmyk(0%, 86%, 32%, 10%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #E51F9C has RGB (229, 31, 156) and HSL (322°, 79%, 51%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E51F9C is #1FE568, creating high-contrast pairings. For softer combinations, try analogous colors like #CA1FE5.

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

Contrast with #E51F9C

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

Contrast Ratio: 5.01:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E51F9C?

#E51F9C is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #E51F9C?

#E51F9C in RGB is (229, 31, 156) - 229 red, 31 green, and 156 blue.

How to use #E51F9C in CSS?

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

What colors go well with #E51F9C?

#1FE568 (complementary), #CA1FE5 (analogous), and #A4136F (lighter shade) work well with #E51F9C.