#D728C3 Color Information

Hex color code: #D728C3

#D728C3 is a neutral magenta color. In RGB it is (215, 40, 195), and in HSL it is (307°, 69%, 50%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#D728C3
RGB
215, 40, 195
HSL
307°, 69%, 50%
CMYK
0%, 81%, 9%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D728C3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 40, 195

Red: 215 / Green: 40 / Blue: 195

HSL

307°, 69%, 50%

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

CMYK

0%, 81%, 9%, 16%

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

What color is #D728C3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D728C3 to RGB:

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

HEX to HSL

Convert #D728C3 to HSL:

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

HEX to CMYK

Convert #D728C3 to CMYK:

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

Color Meaning and Usage

A balanced magenta tone, #D728C3 has RGB (215, 40, 195) and HSL (307°, 69%, 50%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D728C3 is #28D73C, creating high-contrast pairings. For softer combinations, try analogous colors like #9428D7.

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

Contrast with #D728C3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D728C3?

#D728C3 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D728C3?

#D728C3 in RGB is (215, 40, 195) - 215 red, 40 green, and 195 blue.

How to use #D728C3 in CSS?

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

What colors go well with #D728C3?

#28D73C (complementary), #9428D7 (analogous), and #971C88 (lighter shade) work well with #D728C3.