#D421AA Color Information

Hex color code: #D421AA

#D421AA is a striking magenta color. In RGB it is (212, 33, 170), and in HSL it is (314°, 73%, 48%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#D421AA
RGB
212, 33, 170
HSL
314°, 73%, 48%
CMYK
0%, 84%, 20%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D421AA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 33, 170

Red: 212 / Green: 33 / Blue: 170

HSL

314°, 73%, 48%

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

CMYK

0%, 84%, 20%, 17%

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

What color is #D421AA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D421AA to RGB:

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

HEX to HSL

Convert #D421AA to HSL:

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

HEX to CMYK

Convert #D421AA to CMYK:

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

Color Meaning and Usage

A bold magenta tone, #D421AA has RGB (212, 33, 170) and HSL (314°, 73%, 48%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D421AA is #21D44B, creating high-contrast pairings. For softer combinations, try analogous colors like #A421D4.

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

Contrast with #D421AA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D421AA?

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

What is the RGB value of #D421AA?

#D421AA in RGB is (212, 33, 170) - 212 red, 33 green, and 170 blue.

How to use #D421AA in CSS?

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

What colors go well with #D421AA?

#21D44B (complementary), #A421D4 (analogous), and #921775 (lighter shade) work well with #D421AA.