#D897C4 Color Information

Hex color code: #D897C4

#D897C4 is a delicate magenta color. In RGB it is (216, 151, 196), and in HSL it is (318°, 45%, 72%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#D897C4
RGB
216, 151, 196
HSL
318°, 45%, 72%
CMYK
0%, 30%, 9%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D897C4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 151, 196

Red: 216 / Green: 151 / Blue: 196

HSL

318°, 45%, 72%

Hue: 318° / Saturation: 45% / Lightness: 72%

CMYK

0%, 30%, 9%, 15%

Cyan: 0% / Magenta: 30% / Yellow: 9% / Key: 15%

What color is #D897C4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D897C4 to RGB:

rgb(216, 151, 196)HEX to RGB Converter →

HEX to HSL

Convert #D897C4 to HSL:

hsl(318, 45%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #D897C4 to CMYK:

cmyk(0%, 30%, 9%, 15%)Color Converter →

Color Meaning and Usage

#D897C4 is a soft magenta color with RGB values of 216, 151, 196 and HSL of 318°, 45%, 72%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D897C4 is #97D8AB, creating high-contrast pairings. For softer combinations, try analogous colors like #CB97D8.

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

Contrast with #D897C4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D897C4?

#D897C4 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D897C4?

#D897C4 in RGB is (216, 151, 196) - 216 red, 151 green, and 196 blue.

How to use #D897C4 in CSS?

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

What colors go well with #D897C4?

#97D8AB (complementary), #CB97D8 (analogous), and #C360A5 (lighter shade) work well with #D897C4.