#D879CD Color Information

Hex color code: #D879CD

The hex color #D879CD is a balanced magenta with RGB values of (216, 121, 205) and HSL of (307°, 55%, 66%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#D879CD
RGB
216, 121, 205
HSL
307°, 55%, 66%
CMYK
0%, 44%, 5%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D879CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 121, 205

Red: 216 / Green: 121 / Blue: 205

HSL

307°, 55%, 66%

Hue: 307° / Saturation: 55% / Lightness: 66%

CMYK

0%, 44%, 5%, 15%

Cyan: 0% / Magenta: 44% / Yellow: 5% / Key: 15%

What color is #D879CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D879CD to RGB:

rgb(216, 121, 205)HEX to RGB Converter →

HEX to HSL

Convert #D879CD to HSL:

hsl(307, 55%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #D879CD to CMYK:

cmyk(0%, 44%, 5%, 15%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #D879CD has RGB (216, 121, 205) and HSL (307°, 55%, 66%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D879CD is #79D884, creating high-contrast pairings. For softer combinations, try analogous colors like #B379D8.

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

Contrast with #D879CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D879CD?

#D879CD is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D879CD?

#D879CD in RGB is (216, 121, 205) - 216 red, 121 green, and 205 blue.

How to use #D879CD in CSS?

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

What colors go well with #D879CD?

#79D884 (complementary), #B379D8 (analogous), and #C73DB7 (lighter shade) work well with #D879CD.