#EC22C4 Color Information

Hex color code: #EC22C4

The hex color #EC22C4 is a vivid magenta with RGB values of (236, 34, 196) and HSL of (312°, 84%, 53%). It is commonly used in modern UI design.

Try:
Color NameDeep Pink
HEX
#EC22C4
RGB
236, 34, 196
HSL
312°, 84%, 53%
CMYK
0%, 86%, 17%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC22C4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 34, 196

Red: 236 / Green: 34 / Blue: 196

HSL

312°, 84%, 53%

Hue: 312° / Saturation: 84% / Lightness: 53%

CMYK

0%, 86%, 17%, 7%

Cyan: 0% / Magenta: 86% / Yellow: 17% / Key: 7%

What color is #EC22C4?

#EC22C4 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC22C4 to RGB:

rgb(236, 34, 196)HEX to RGB Converter →

HEX to HSL

Convert #EC22C4 to HSL:

hsl(312, 84%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #EC22C4 to CMYK:

cmyk(0%, 86%, 17%, 7%)Color Converter →

Color Meaning and Usage

#EC22C4 is a eye-catching magenta color with RGB values of 236, 34, 196 and HSL of 312°, 84%, 53%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC22C4 is #22EC4B, creating high-contrast pairings. For softer combinations, try analogous colors like #AF22EC.

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

Contrast with #EC22C4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC22C4?

#EC22C4 is a eye-catching magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EC22C4?

#EC22C4 in RGB is (236, 34, 196) - 236 red, 34 green, and 196 blue.

How to use #EC22C4 in CSS?

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

What colors go well with #EC22C4?

#22EC4B (complementary), #AF22EC (analogous), and #B21092 (lighter shade) work well with #EC22C4.