#D287C0 Color Information

Hex color code: #D287C0

#D287C0 is a pastel magenta color. In RGB it is (210, 135, 192), and in HSL it is (314°, 45%, 68%). It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#D287C0
RGB
210, 135, 192
HSL
314°, 45%, 68%
CMYK
0%, 36%, 9%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D287C0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 135, 192

Red: 210 / Green: 135 / Blue: 192

HSL

314°, 45%, 68%

Hue: 314° / Saturation: 45% / Lightness: 68%

CMYK

0%, 36%, 9%, 18%

Cyan: 0% / Magenta: 36% / Yellow: 9% / Key: 18%

What color is #D287C0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D287C0 to RGB:

rgb(210, 135, 192)HEX to RGB Converter →

HEX to HSL

Convert #D287C0 to HSL:

hsl(314, 45%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #D287C0 to CMYK:

cmyk(0%, 36%, 9%, 18%)Color Converter →

Color Meaning and Usage

#D287C0 is a pastel magenta color with RGB values of 210, 135, 192 and HSL of 314°, 45%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D287C0 is #89D29A, creating high-contrast pairings. For softer combinations, try analogous colors like #BF89D2.

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

Contrast with #D287C0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D287C0?

#D287C0 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D287C0?

#D287C0 in RGB is (210, 135, 192) - 210 red, 135 green, and 192 blue.

How to use #D287C0 in CSS?

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

What colors go well with #D287C0?

#89D29A (complementary), #BF89D2 (analogous), and #BD51A4 (lighter shade) work well with #D287C0.