#E166D4 Color Information

Hex color code: #E166D4

A neutral magenta shade, #E166D4 appears as (225, 102, 212) in RGB and (306°, 67%, 64%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#E166D4
RGB
225, 102, 212
HSL
306°, 67%, 64%
CMYK
0%, 55%, 6%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E166D4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

225, 102, 212

Red: 225 / Green: 102 / Blue: 212

HSL

306°, 67%, 64%

Hue: 306° / Saturation: 67% / Lightness: 64%

CMYK

0%, 55%, 6%, 12%

Cyan: 0% / Magenta: 55% / Yellow: 6% / Key: 12%

What color is #E166D4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E166D4 to RGB:

rgb(225, 102, 212)HEX to RGB Converter →

HEX to HSL

Convert #E166D4 to HSL:

hsl(306, 67%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #E166D4 to CMYK:

cmyk(0%, 55%, 6%, 12%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #E166D4 has RGB (225, 102, 212) and HSL (306°, 67%, 64%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E166D4 is #66E172, creating high-contrast pairings. For softer combinations, try analogous colors like #B066E1.

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

Contrast with #E166D4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E166D4?

#E166D4 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #E166D4?

#E166D4 in RGB is (225, 102, 212) - 225 red, 102 green, and 212 blue.

How to use #E166D4 in CSS?

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

What colors go well with #E166D4?

#66E172 (complementary), #B066E1 (analogous), and #D129C0 (lighter shade) work well with #E166D4.