#E878D2 Color Information

Hex color code: #E878D2

#E878D2 is a striking magenta color. In RGB it is (232, 120, 210), and in HSL it is (312°, 71%, 69%). It is popular in mobile app design.

Try:
Color NameViolet
HEX
#E878D2
RGB
232, 120, 210
HSL
312°, 71%, 69%
CMYK
0%, 48%, 9%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E878D2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

232, 120, 210

Red: 232 / Green: 120 / Blue: 210

HSL

312°, 71%, 69%

Hue: 312° / Saturation: 71% / Lightness: 69%

CMYK

0%, 48%, 9%, 9%

Cyan: 0% / Magenta: 48% / Yellow: 9% / Key: 9%

What color is #E878D2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E878D2 to RGB:

rgb(232, 120, 210)HEX to RGB Converter →

HEX to HSL

Convert #E878D2 to HSL:

hsl(312, 71%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #E878D2 to CMYK:

cmyk(0%, 48%, 9%, 9%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #E878D2 has RGB (232, 120, 210) and HSL (312°, 71%, 69%). 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 #E878D2 is #78E88E, creating high-contrast pairings. For softer combinations, try analogous colors like #C678E8.

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

Contrast with #E878D2

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

Contrast Ratio: 8.05:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E878D2?

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

What is the RGB value of #E878D2?

#E878D2 in RGB is (232, 120, 210) - 232 red, 120 green, and 210 blue.

How to use #E878D2 in CSS?

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

What colors go well with #E878D2?

#78E88E (complementary), #C678E8 (analogous), and #DD36BC (lighter shade) work well with #E878D2.