#E2229F Color Information

Hex color code: #E2229F

#E2229F is a bold magenta color. In RGB it is (226, 34, 159), and in HSL it is (321°, 77%, 51%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#E2229F
RGB
226, 34, 159
HSL
321°, 77%, 51%
CMYK
0%, 85%, 30%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E2229F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

226, 34, 159

Red: 226 / Green: 34 / Blue: 159

HSL

321°, 77%, 51%

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

CMYK

0%, 85%, 30%, 11%

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

What color is #E2229F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E2229F to RGB:

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

HEX to HSL

Convert #E2229F to HSL:

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

HEX to CMYK

Convert #E2229F to CMYK:

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

Color Meaning and Usage

A eye-catching magenta tone, #E2229F has RGB (226, 34, 159) and HSL (321°, 77%, 51%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E2229F is #22E265, creating high-contrast pairings. For softer combinations, try analogous colors like #C522E2.

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

Contrast with #E2229F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E2229F?

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

What is the RGB value of #E2229F?

#E2229F in RGB is (226, 34, 159) - 226 red, 34 green, and 159 blue.

How to use #E2229F in CSS?

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

What colors go well with #E2229F?

#22E265 (complementary), #C522E2 (analogous), and #A21571 (lighter shade) work well with #E2229F.