#D852CB Color Information

Hex color code: #D852CB

A balanced magenta shade, #D852CB appears as (216, 82, 203) in RGB and (306°, 63%, 58%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#D852CB
RGB
216, 82, 203
HSL
306°, 63%, 58%
CMYK
0%, 62%, 6%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D852CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 82, 203

Red: 216 / Green: 82 / Blue: 203

HSL

306°, 63%, 58%

Hue: 306° / Saturation: 63% / Lightness: 58%

CMYK

0%, 62%, 6%, 15%

Cyan: 0% / Magenta: 62% / Yellow: 6% / Key: 15%

What color is #D852CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D852CB to RGB:

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

HEX to HSL

Convert #D852CB to HSL:

hsl(306, 63%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #D852CB to CMYK:

cmyk(0%, 62%, 6%, 15%)Color Converter →

Color Meaning and Usage

#D852CB is a subtle magenta color with RGB values of 216, 82, 203 and HSL of 306°, 63%, 58%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D852CB is #50D75E, creating high-contrast pairings. For softer combinations, try analogous colors like #A150D7.

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

Contrast with #D852CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D852CB?

#D852CB is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D852CB?

#D852CB in RGB is (216, 82, 203) - 216 red, 82 green, and 203 blue.

How to use #D852CB in CSS?

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

What colors go well with #D852CB?

#50D75E (complementary), #A150D7 (analogous), and #B329A5 (lighter shade) work well with #D852CB.