#EC229F Color Information

Hex color code: #EC229F

The hex color #EC229F is a striking magenta with RGB values of (236, 34, 159) and HSL of (323°, 84%, 53%). It is often used for branding and logos.

Try:
Color NameDeep Pink
HEX
#EC229F
RGB
236, 34, 159
HSL
323°, 84%, 53%
CMYK
0%, 86%, 33%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC229F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 34, 159

Red: 236 / Green: 34 / Blue: 159

HSL

323°, 84%, 53%

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

CMYK

0%, 86%, 33%, 7%

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

What color is #EC229F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC229F to RGB:

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

HEX to HSL

Convert #EC229F to HSL:

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

HEX to CMYK

Convert #EC229F to CMYK:

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

Color Meaning and Usage

A vivid magenta tone, #EC229F has RGB (236, 34, 159) and HSL (323°, 84%, 53%). Known for evoking energy and excitement, this highly saturated hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC229F is #22EC70, creating high-contrast pairings. For softer combinations, try analogous colors like #D422EC.

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

Contrast with #EC229F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC229F?

#EC229F is a vivid magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EC229F?

#EC229F in RGB is (236, 34, 159) - 236 red, 34 green, and 159 blue.

How to use #EC229F in CSS?

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

What colors go well with #EC229F?

#22EC70 (complementary), #D422EC (analogous), and #B21074 (lighter shade) work well with #EC229F.