#E166E5 Color Information

Hex color code: #E166E5

The hex color #E166E5 is a vivid magenta with RGB values of (225, 102, 229) and HSL of (298°, 71%, 65%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#E166E5
RGB
225, 102, 229
HSL
298°, 71%, 65%
CMYK
2%, 55%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #E166E5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

225, 102, 229

Red: 225 / Green: 102 / Blue: 229

HSL

298°, 71%, 65%

Hue: 298° / Saturation: 71% / Lightness: 65%

CMYK

2%, 55%, 0%, 10%

Cyan: 2% / Magenta: 55% / Yellow: 0% / Key: 10%

What color is #E166E5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #E166E5 to RGB:

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

HEX to HSL

Convert #E166E5 to HSL:

hsl(298, 71%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #E166E5 to CMYK:

cmyk(2%, 55%, 0%, 10%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #E166E5 has RGB (225, 102, 229) and HSL (298°, 71%, 65%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #E166E5 is #6BE566, creating high-contrast pairings. For softer combinations, try analogous colors like #A266E5.

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

Contrast with #E166E5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #E166E5?

#E166E5 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #E166E5?

#E166E5 in RGB is (225, 102, 229) - 225 red, 102 green, and 229 blue.

How to use #E166E5 in CSS?

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

What colors go well with #E166E5?

#6BE566 (complementary), #A266E5 (analogous), and #D425DA (lighter shade) work well with #E166E5.