#D786C5 Color Information

Hex color code: #D786C5

The hex color #D786C5 is a balanced magenta with RGB values of (215, 134, 197) and HSL of (313°, 50%, 68%). It is often used for branding and logos.

Try:
Color NamePlum
HEX
#D786C5
RGB
215, 134, 197
HSL
313°, 50%, 68%
CMYK
0%, 38%, 8%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D786C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 134, 197

Red: 215 / Green: 134 / Blue: 197

HSL

313°, 50%, 68%

Hue: 313° / Saturation: 50% / Lightness: 68%

CMYK

0%, 38%, 8%, 16%

Cyan: 0% / Magenta: 38% / Yellow: 8% / Key: 16%

What color is #D786C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D786C5 to RGB:

rgb(215, 134, 197)HEX to RGB Converter →

HEX to HSL

Convert #D786C5 to HSL:

hsl(313, 50%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #D786C5 to CMYK:

cmyk(0%, 38%, 8%, 16%)Color Converter →

Color Meaning and Usage

#D786C5 is a neutral magenta color with RGB values of 215, 134, 197 and HSL of 313°, 50%, 68%. 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 #D786C5 is #85D696, creating high-contrast pairings. For softer combinations, try analogous colors like #BF85D6.

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

Contrast with #D786C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D786C5?

#D786C5 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D786C5?

#D786C5 in RGB is (215, 134, 197) - 215 red, 134 green, and 197 blue.

How to use #D786C5 in CSS?

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

What colors go well with #D786C5?

#85D696 (complementary), #BF85D6 (analogous), and #C34BA9 (lighter shade) work well with #D786C5.