#DC40E1 Color Information

Hex color code: #DC40E1

The hex color #DC40E1 is a eye-catching magenta with RGB values of (220, 64, 225) and HSL of (298°, 73%, 57%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#DC40E1
RGB
220, 64, 225
HSL
298°, 73%, 57%
CMYK
2%, 72%, 0%, 12%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DC40E1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 64, 225

Red: 220 / Green: 64 / Blue: 225

HSL

298°, 73%, 57%

Hue: 298° / Saturation: 73% / Lightness: 57%

CMYK

2%, 72%, 0%, 12%

Cyan: 2% / Magenta: 72% / Yellow: 0% / Key: 12%

What color is #DC40E1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC40E1 to RGB:

rgb(220, 64, 225)HEX to RGB Converter →

HEX to HSL

Convert #DC40E1 to HSL:

hsl(298, 73%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #DC40E1 to CMYK:

cmyk(2%, 72%, 0%, 12%)Color Converter →

Color Meaning and Usage

#DC40E1 is a vivid magenta color with RGB values of 220, 64, 225 and HSL of 298°, 73%, 57%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC40E1 is #47E141, creating high-contrast pairings. For softer combinations, try analogous colors like #8C41E1.

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

Contrast with #DC40E1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC40E1?

#DC40E1 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DC40E1?

#DC40E1 in RGB is (220, 64, 225) - 220 red, 64 green, and 225 blue.

How to use #DC40E1 in CSS?

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

What colors go well with #DC40E1?

#47E141 (complementary), #8C41E1 (analogous), and #B41DB9 (lighter shade) work well with #DC40E1.