#E4218F Color Information

Hex color code: #E4218F

The hex color #E4218F is a bold magenta with RGB values of (228, 33, 143) and HSL of (326°, 78%, 51%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#E4218F
RGB
228, 33, 143
HSL
326°, 78%, 51%
CMYK
0%, 86%, 37%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E4218F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

228, 33, 143

Red: 228 / Green: 33 / Blue: 143

HSL

326°, 78%, 51%

Hue: 326° / Saturation: 78% / Lightness: 51%

CMYK

0%, 86%, 37%, 11%

Cyan: 0% / Magenta: 86% / Yellow: 37% / Key: 11%

What color is #E4218F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E4218F to RGB:

rgb(228, 33, 143)HEX to RGB Converter →

HEX to HSL

Convert #E4218F to HSL:

hsl(326, 78%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #E4218F to CMYK:

cmyk(0%, 86%, 37%, 11%)Color Converter →

Color Meaning and Usage

#E4218F is a bold magenta color with RGB values of 228, 33, 143 and HSL of 326°, 78%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E4218F is #21E475, creating high-contrast pairings. For softer combinations, try analogous colors like #D721E4.

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

Contrast with #E4218F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E4218F?

#E4218F is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #E4218F?

#E4218F in RGB is (228, 33, 143) - 228 red, 33 green, and 143 blue.

How to use #E4218F in CSS?

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

What colors go well with #E4218F?

#21E475 (complementary), #D721E4 (analogous), and #A31465 (lighter shade) work well with #E4218F.