#E2228F Color Information

Hex color code: #E2228F

The hex color #E2228F is a vivid magenta with RGB values of (226, 34, 143) and HSL of (326°, 77%, 51%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#E2228F
RGB
226, 34, 143
HSL
326°, 77%, 51%
CMYK
0%, 85%, 37%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E2228F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

226, 34, 143

Red: 226 / Green: 34 / Blue: 143

HSL

326°, 77%, 51%

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

CMYK

0%, 85%, 37%, 11%

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

What color is #E2228F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E2228F to RGB:

rgb(226, 34, 143)HEX to RGB Converter →

HEX to HSL

Convert #E2228F to HSL:

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

HEX to CMYK

Convert #E2228F to CMYK:

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

Color Meaning and Usage

#E2228F is a bold magenta color with RGB values of 226, 34, 143 and HSL of 326°, 77%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E2228F is #22E275, creating high-contrast pairings. For softer combinations, try analogous colors like #D522E2.

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

Contrast with #E2228F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E2228F?

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

What is the RGB value of #E2228F?

#E2228F in RGB is (226, 34, 143) - 226 red, 34 green, and 143 blue.

How to use #E2228F in CSS?

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

What colors go well with #E2228F?

#22E275 (complementary), #D522E2 (analogous), and #A21565 (lighter shade) work well with #E2228F.