#D52AD5 Color Information

Hex color code: #D52AD5

A neutral magenta shade, #D52AD5 appears as (213, 42, 213) in RGB and (300°, 67%, 50%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#D52AD5
RGB
213, 42, 213
HSL
300°, 67%, 50%
CMYK
0%, 80%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D52AD5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

213, 42, 213

Red: 213 / Green: 42 / Blue: 213

HSL

300°, 67%, 50%

Hue: 300° / Saturation: 67% / Lightness: 50%

CMYK

0%, 80%, 0%, 16%

Cyan: 0% / Magenta: 80% / Yellow: 0% / Key: 16%

What color is #D52AD5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D52AD5 to RGB:

rgb(213, 42, 213)HEX to RGB Converter →

HEX to HSL

Convert #D52AD5 to HSL:

hsl(300, 67%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D52AD5 to CMYK:

cmyk(0%, 80%, 0%, 16%)Color Converter →

Color Meaning and Usage

#D52AD5 is a neutral magenta color with RGB values of 213, 42, 213 and HSL of 300°, 67%, 50%. 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 #D52AD5 is #2AD52A, creating high-contrast pairings. For softer combinations, try analogous colors like #802AD5.

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

Contrast with #D52AD5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D52AD5?

#D52AD5 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D52AD5?

#D52AD5 in RGB is (213, 42, 213) - 213 red, 42 green, and 213 blue.

How to use #D52AD5 in CSS?

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

What colors go well with #D52AD5?

#2AD52A (complementary), #802AD5 (analogous), and #951D95 (lighter shade) work well with #D52AD5.