#DC2EC4 Color Information

Hex color code: #DC2EC4

#DC2EC4 is a dynamic magenta color. In RGB it is (220, 46, 196), and in HSL it is (308°, 71%, 52%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#DC2EC4
RGB
220, 46, 196
HSL
308°, 71%, 52%
CMYK
0%, 79%, 11%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DC2EC4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 46, 196

Red: 220 / Green: 46 / Blue: 196

HSL

308°, 71%, 52%

Hue: 308° / Saturation: 71% / Lightness: 52%

CMYK

0%, 79%, 11%, 14%

Cyan: 0% / Magenta: 79% / Yellow: 11% / Key: 14%

What color is #DC2EC4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC2EC4 to RGB:

rgb(220, 46, 196)HEX to RGB Converter →

HEX to HSL

Convert #DC2EC4 to HSL:

hsl(308, 71%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #DC2EC4 to CMYK:

cmyk(0%, 79%, 11%, 14%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #DC2EC4 has RGB (220, 46, 196) and HSL (308°, 71%, 52%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC2EC4 is #2EDC45, creating high-contrast pairings. For softer combinations, try analogous colors like #9C2EDC.

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

Contrast with #DC2EC4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC2EC4?

#DC2EC4 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DC2EC4?

#DC2EC4 in RGB is (220, 46, 196) - 220 red, 46 green, and 196 blue.

How to use #DC2EC4 in CSS?

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

What colors go well with #DC2EC4?

#2EDC45 (complementary), #9C2EDC (analogous), and #A11B8F (lighter shade) work well with #DC2EC4.