#DC2E7C Color Information

Hex color code: #DC2E7C

The hex color #DC2E7C is a bold magenta with RGB values of (220, 46, 124) and HSL of (333°, 71%, 52%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#DC2E7C
RGB
220, 46, 124
HSL
333°, 71%, 52%
CMYK
0%, 79%, 44%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DC2E7C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 46, 124

Red: 220 / Green: 46 / Blue: 124

HSL

333°, 71%, 52%

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

CMYK

0%, 79%, 44%, 14%

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

What color is #DC2E7C?

#DC2E7C is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC2E7C to RGB:

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

HEX to HSL

Convert #DC2E7C to HSL:

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

HEX to CMYK

Convert #DC2E7C to CMYK:

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

Color Meaning and Usage

#DC2E7C is a dynamic magenta color with RGB values of 220, 46, 124 and HSL of 333°, 71%, 52%. This red-orange hue evokes warmth and passion, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC2E7C is #2EDC8D, creating high-contrast pairings. For softer combinations, try analogous colors like #DC2ED3.

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

Contrast with #DC2E7C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC2E7C?

#DC2E7C is a dynamic magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #DC2E7C?

#DC2E7C in RGB is (220, 46, 124) - 220 red, 46 green, and 124 blue.

How to use #DC2E7C in CSS?

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

What colors go well with #DC2E7C?

#2EDC8D (complementary), #DC2ED3 (analogous), and #A11B58 (lighter shade) work well with #DC2E7C.