#E21DA7 Color Information

Hex color code: #E21DA7

#E21DA7 is a bold magenta color. In RGB it is (226, 29, 167), and in HSL it is (318°, 77%, 50%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#E21DA7
RGB
226, 29, 167
HSL
318°, 77%, 50%
CMYK
0%, 87%, 26%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E21DA7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

226, 29, 167

Red: 226 / Green: 29 / Blue: 167

HSL

318°, 77%, 50%

Hue: 318° / Saturation: 77% / Lightness: 50%

CMYK

0%, 87%, 26%, 11%

Cyan: 0% / Magenta: 87% / Yellow: 26% / Key: 11%

What color is #E21DA7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E21DA7 to RGB:

rgb(226, 29, 167)HEX to RGB Converter →

HEX to HSL

Convert #E21DA7 to HSL:

hsl(318, 77%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #E21DA7 to CMYK:

cmyk(0%, 87%, 26%, 11%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #E21DA7 has RGB (226, 29, 167) and HSL (318°, 77%, 50%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E21DA7 is #1DE258, creating high-contrast pairings. For softer combinations, try analogous colors like #BA1DE2.

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

Contrast with #E21DA7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E21DA7?

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

What is the RGB value of #E21DA7?

#E21DA7 in RGB is (226, 29, 167) - 226 red, 29 green, and 167 blue.

How to use #E21DA7 in CSS?

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

What colors go well with #E21DA7?

#1DE258 (complementary), #BA1DE2 (analogous), and #9E1575 (lighter shade) work well with #E21DA7.