#E042AC Color Information

Hex color code: #E042AC

A eye-catching magenta shade, #E042AC appears as (224, 66, 172) in RGB and (320°, 72%, 57%) in HSL. It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#E042AC
RGB
224, 66, 172
HSL
320°, 72%, 57%
CMYK
0%, 71%, 23%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E042AC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

224, 66, 172

Red: 224 / Green: 66 / Blue: 172

HSL

320°, 72%, 57%

Hue: 320° / Saturation: 72% / Lightness: 57%

CMYK

0%, 71%, 23%, 12%

Cyan: 0% / Magenta: 71% / Yellow: 23% / Key: 12%

What color is #E042AC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E042AC to RGB:

rgb(224, 66, 172)HEX to RGB Converter →

HEX to HSL

Convert #E042AC to HSL:

hsl(320, 72%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #E042AC to CMYK:

cmyk(0%, 71%, 23%, 12%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #E042AC has RGB (224, 66, 172) and HSL (320°, 72%, 57%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E042AC is #42E077, creating high-contrast pairings. For softer combinations, try analogous colors like #C642E0.

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

Contrast with #E042AC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E042AC?

#E042AC is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #E042AC?

#E042AC in RGB is (224, 66, 172) - 224 red, 66 green, and 172 blue.

How to use #E042AC in CSS?

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

What colors go well with #E042AC?

#42E077 (complementary), #C642E0 (analogous), and #B81E85 (lighter shade) work well with #E042AC.