#D421C5 Color Information

Hex color code: #D421C5

A bold magenta shade, #D421C5 appears as (212, 33, 197) in RGB and (305°, 73%, 48%) in HSL. It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#D421C5
RGB
212, 33, 197
HSL
305°, 73%, 48%
CMYK
0%, 84%, 7%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D421C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 33, 197

Red: 212 / Green: 33 / Blue: 197

HSL

305°, 73%, 48%

Hue: 305° / Saturation: 73% / Lightness: 48%

CMYK

0%, 84%, 7%, 17%

Cyan: 0% / Magenta: 84% / Yellow: 7% / Key: 17%

What color is #D421C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D421C5 to RGB:

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

HEX to HSL

Convert #D421C5 to HSL:

hsl(305, 73%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #D421C5 to CMYK:

cmyk(0%, 84%, 7%, 17%)Color Converter →

Color Meaning and Usage

#D421C5 is a eye-catching magenta color with RGB values of 212, 33, 197 and HSL of 305°, 73%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D421C5 is #21D430, creating high-contrast pairings. For softer combinations, try analogous colors like #8921D4.

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

Contrast with #D421C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D421C5?

#D421C5 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D421C5?

#D421C5 in RGB is (212, 33, 197) - 212 red, 33 green, and 197 blue.

How to use #D421C5 in CSS?

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

What colors go well with #D421C5?

#21D430 (complementary), #8921D4 (analogous), and #921787 (lighter shade) work well with #D421C5.