#E31CD2 Color Information

Hex color code: #E31CD2

A vivid magenta shade, #E31CD2 appears as (227, 28, 210) in RGB and (305°, 78%, 50%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMagenta
HEX
#E31CD2
RGB
227, 28, 210
HSL
305°, 78%, 50%
CMYK
0%, 88%, 7%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #E31CD2; 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 #E31CD2; background-color: #E31CD215; }

Alert / Toast

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

Link / Accent

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

a { color: #E31CD2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

227, 28, 210

Red: 227 / Green: 28 / Blue: 210

HSL

305°, 78%, 50%

Hue: 305° / Saturation: 78% / Lightness: 50%

CMYK

0%, 88%, 7%, 11%

Cyan: 0% / Magenta: 88% / Yellow: 7% / Key: 11%

What color is #E31CD2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E31CD2 to RGB:

rgb(227, 28, 210)HEX to RGB Converter →

HEX to HSL

Convert #E31CD2 to HSL:

hsl(305, 78%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #E31CD2 to CMYK:

cmyk(0%, 88%, 7%, 11%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #E31CD2 has RGB (227, 28, 210) and HSL (305°, 78%, 50%). 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 #E31CD2 is #1CE32D, creating high-contrast pairings. For softer combinations, try analogous colors like #901CE3.

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

Contrast with #E31CD2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E31CD2?

#E31CD2 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #E31CD2?

#E31CD2 in RGB is (227, 28, 210) - 227 red, 28 green, and 210 blue.

How to use #E31CD2 in CSS?

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

What colors go well with #E31CD2?

#1CE32D (complementary), #901CE3 (analogous), and #9F1493 (lighter shade) work well with #E31CD2.