#D28CD4 Color Information

Hex color code: #D28CD4

A gentle magenta shade, #D28CD4 appears as (210, 140, 212) in RGB and (298°, 46%, 69%) in HSL. It is often used for branding and logos.

Try:
Color NamePlum
HEX
#D28CD4
RGB
210, 140, 212
HSL
298°, 46%, 69%
CMYK
1%, 34%, 0%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D28CD4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 140, 212

Red: 210 / Green: 140 / Blue: 212

HSL

298°, 46%, 69%

Hue: 298° / Saturation: 46% / Lightness: 69%

CMYK

1%, 34%, 0%, 17%

Cyan: 1% / Magenta: 34% / Yellow: 0% / Key: 17%

What color is #D28CD4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D28CD4 to RGB:

rgb(210, 140, 212)HEX to RGB Converter →

HEX to HSL

Convert #D28CD4 to HSL:

hsl(298, 46%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D28CD4 to CMYK:

cmyk(1%, 34%, 0%, 17%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #D28CD4 has RGB (210, 140, 212) and HSL (298°, 46%, 69%). 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 #D28CD4 is #8ED48C, creating high-contrast pairings. For softer combinations, try analogous colors like #AE8CD4.

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

Contrast with #D28CD4

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

Contrast Ratio: 8.44:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D28CD4?

#D28CD4 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D28CD4?

#D28CD4 in RGB is (210, 140, 212) - 210 red, 140 green, and 212 blue.

How to use #D28CD4 in CSS?

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

What colors go well with #D28CD4?

#8ED48C (complementary), #AE8CD4 (analogous), and #BC54C0 (lighter shade) work well with #D28CD4.