#D152CB Color Information

Hex color code: #D152CB

A subtle magenta shade, #D152CB appears as (209, 82, 203) in RGB and (303°, 58%, 57%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#D152CB
RGB
209, 82, 203
HSL
303°, 58%, 57%
CMYK
0%, 61%, 3%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D152CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 82, 203

Red: 209 / Green: 82 / Blue: 203

HSL

303°, 58%, 57%

Hue: 303° / Saturation: 58% / Lightness: 57%

CMYK

0%, 61%, 3%, 18%

Cyan: 0% / Magenta: 61% / Yellow: 3% / Key: 18%

What color is #D152CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D152CB to RGB:

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

HEX to HSL

Convert #D152CB to HSL:

hsl(303, 58%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #D152CB to CMYK:

cmyk(0%, 61%, 3%, 18%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #D152CB has RGB (209, 82, 203) and HSL (303°, 58%, 57%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D152CB is #52D158, creating high-contrast pairings. For softer combinations, try analogous colors like #9852D1.

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

Contrast with #D152CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D152CB?

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

What is the RGB value of #D152CB?

#D152CB in RGB is (209, 82, 203) - 209 red, 82 green, and 203 blue.

How to use #D152CB in CSS?

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

What colors go well with #D152CB?

#52D158 (complementary), #9852D1 (analogous), and #A92DA3 (lighter shade) work well with #D152CB.