#D452CB Color Information

Hex color code: #D452CB

The hex color #D452CB is a neutral magenta with RGB values of (212, 82, 203) and HSL of (304°, 60%, 58%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#D452CB
RGB
212, 82, 203
HSL
304°, 60%, 58%
CMYK
0%, 61%, 4%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D452CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 82, 203

Red: 212 / Green: 82 / Blue: 203

HSL

304°, 60%, 58%

Hue: 304° / Saturation: 60% / Lightness: 58%

CMYK

0%, 61%, 4%, 17%

Cyan: 0% / Magenta: 61% / Yellow: 4% / Key: 17%

What color is #D452CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D452CB to RGB:

rgb(212, 82, 203)HEX to RGB Converter →

HEX to HSL

Convert #D452CB to HSL:

hsl(304, 60%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #D452CB to CMYK:

cmyk(0%, 61%, 4%, 17%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #D452CB has RGB (212, 82, 203) and HSL (304°, 60%, 58%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D452CB is #54D45C, creating high-contrast pairings. For softer combinations, try analogous colors like #9C54D4.

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

Contrast with #D452CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D452CB?

#D452CB is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D452CB?

#D452CB in RGB is (212, 82, 203) - 212 red, 82 green, and 203 blue.

How to use #D452CB in CSS?

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

What colors go well with #D452CB?

#54D45C (complementary), #9C54D4 (analogous), and #AF2CA7 (lighter shade) work well with #D452CB.