#E22872 Color Information

Hex color code: #E22872

#E22872 is a vivid magenta color. In RGB it is (226, 40, 114), and in HSL it is (336°, 76%, 52%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#E22872
RGB
226, 40, 114
HSL
336°, 76%, 52%
CMYK
0%, 82%, 50%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E22872; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

226, 40, 114

Red: 226 / Green: 40 / Blue: 114

HSL

336°, 76%, 52%

Hue: 336° / Saturation: 76% / Lightness: 52%

CMYK

0%, 82%, 50%, 11%

Cyan: 0% / Magenta: 82% / Yellow: 50% / Key: 11%

What color is #E22872?

#E22872 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E22872 to RGB:

rgb(226, 40, 114)HEX to RGB Converter →

HEX to HSL

Convert #E22872 to HSL:

hsl(336, 76%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #E22872 to CMYK:

cmyk(0%, 82%, 50%, 11%)Color Converter →

Color Meaning and Usage

#E22872 is a dynamic magenta color with RGB values of 226, 40, 114 and HSL of 336°, 76%, 52%. This red-orange hue evokes warmth and passion, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E22872 is #28E297, creating high-contrast pairings. For softer combinations, try analogous colors like #E228CF.

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

Contrast with #E22872

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E22872?

#E22872 is a dynamic magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #E22872?

#E22872 in RGB is (226, 40, 114) - 226 red, 40 green, and 114 blue.

How to use #E22872 in CSS?

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

What colors go well with #E22872?

#28E297 (complementary), #E228CF (analogous), and #A61750 (lighter shade) work well with #E22872.