#D728CC Color Information

Hex color code: #D728CC

The hex color #D728CC is a neutral magenta with RGB values of (215, 40, 204) and HSL of (304°, 69%, 50%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#D728CC
RGB
215, 40, 204
HSL
304°, 69%, 50%
CMYK
0%, 81%, 5%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D728CC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 40, 204

Red: 215 / Green: 40 / Blue: 204

HSL

304°, 69%, 50%

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

CMYK

0%, 81%, 5%, 16%

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

What color is #D728CC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D728CC to RGB:

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

HEX to HSL

Convert #D728CC to HSL:

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

HEX to CMYK

Convert #D728CC to CMYK:

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

Color Meaning and Usage

#D728CC is a muted magenta color with RGB values of 215, 40, 204 and HSL of 304°, 69%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D728CC is #28D733, creating high-contrast pairings. For softer combinations, try analogous colors like #8B28D7.

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

Contrast with #D728CC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D728CC?

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

What is the RGB value of #D728CC?

#D728CC in RGB is (215, 40, 204) - 215 red, 40 green, and 204 blue.

How to use #D728CC in CSS?

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

What colors go well with #D728CC?

#28D733 (complementary), #8B28D7 (analogous), and #971C8F (lighter shade) work well with #D728CC.