#D421DE Color Information

Hex color code: #D421DE

The hex color #D421DE is a vivid magenta with RGB values of (212, 33, 222) and HSL of (297°, 74%, 50%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#D421DE
RGB
212, 33, 222
HSL
297°, 74%, 50%
CMYK
5%, 85%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D421DE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 33, 222

Red: 212 / Green: 33 / Blue: 222

HSL

297°, 74%, 50%

Hue: 297° / Saturation: 74% / Lightness: 50%

CMYK

5%, 85%, 0%, 13%

Cyan: 5% / Magenta: 85% / Yellow: 0% / Key: 13%

What color is #D421DE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D421DE to RGB:

rgb(212, 33, 222)HEX to RGB Converter →

HEX to HSL

Convert #D421DE to HSL:

hsl(297, 74%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D421DE to CMYK:

cmyk(5%, 85%, 0%, 13%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #D421DE has RGB (212, 33, 222) and HSL (297°, 74%, 50%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D421DE is #2BDE21, creating high-contrast pairings. For softer combinations, try analogous colors like #7621DE.

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

Contrast with #D421DE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D421DE?

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

What is the RGB value of #D421DE?

#D421DE in RGB is (212, 33, 222) - 212 red, 33 green, and 222 blue.

How to use #D421DE in CSS?

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

What colors go well with #D421DE?

#2BDE21 (complementary), #7621DE (analogous), and #95179B (lighter shade) work well with #D421DE.