#DC2EA7 Color Information

Hex color code: #DC2EA7

#DC2EA7 is a eye-catching magenta color. In RGB it is (220, 46, 167), and in HSL it is (318°, 71%, 52%). It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#DC2EA7
RGB
220, 46, 167
HSL
318°, 71%, 52%
CMYK
0%, 79%, 24%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DC2EA7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 46, 167

Red: 220 / Green: 46 / Blue: 167

HSL

318°, 71%, 52%

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

CMYK

0%, 79%, 24%, 14%

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

What color is #DC2EA7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC2EA7 to RGB:

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

HEX to HSL

Convert #DC2EA7 to HSL:

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

HEX to CMYK

Convert #DC2EA7 to CMYK:

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

Color Meaning and Usage

#DC2EA7 is a bold magenta color with RGB values of 220, 46, 167 and HSL of 318°, 71%, 52%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC2EA7 is #2EDC62, creating high-contrast pairings. For softer combinations, try analogous colors like #B92EDC.

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

Contrast with #DC2EA7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC2EA7?

#DC2EA7 is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DC2EA7?

#DC2EA7 in RGB is (220, 46, 167) - 220 red, 46 green, and 167 blue.

How to use #DC2EA7 in CSS?

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

What colors go well with #DC2EA7?

#2EDC62 (complementary), #B92EDC (analogous), and #A11B79 (lighter shade) work well with #DC2EA7.