#D728CF Color Information

Hex color code: #D728CF

#D728CF is a understated magenta color. In RGB it is (215, 40, 207), and in HSL it is (303°, 69%, 50%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#D728CF
RGB
215, 40, 207
HSL
303°, 69%, 50%
CMYK
0%, 81%, 4%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D728CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 40, 207

Red: 215 / Green: 40 / Blue: 207

HSL

303°, 69%, 50%

Hue: 303° / Saturation: 69% / Lightness: 50%

CMYK

0%, 81%, 4%, 16%

Cyan: 0% / Magenta: 81% / Yellow: 4% / Key: 16%

What color is #D728CF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D728CF to RGB:

rgb(215, 40, 207)HEX to RGB Converter →

HEX to HSL

Convert #D728CF to HSL:

hsl(303, 69%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D728CF to CMYK:

cmyk(0%, 81%, 4%, 16%)Color Converter →

Color Meaning and Usage

#D728CF is a muted magenta color with RGB values of 215, 40, 207 and HSL of 303°, 69%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D728CF is #28D730, creating high-contrast pairings. For softer combinations, try analogous colors like #8828D7.

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

Contrast with #D728CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D728CF?

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

What is the RGB value of #D728CF?

#D728CF in RGB is (215, 40, 207) - 215 red, 40 green, and 207 blue.

How to use #D728CF in CSS?

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

What colors go well with #D728CF?

#28D730 (complementary), #8828D7 (analogous), and #971C91 (lighter shade) work well with #D728CF.