#D897CC Color Information

Hex color code: #D897CC

The hex color #D897CC is a subtle magenta with RGB values of (216, 151, 204) and HSL of (311°, 45%, 72%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#D897CC
RGB
216, 151, 204
HSL
311°, 45%, 72%
CMYK
0%, 30%, 6%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D897CC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 151, 204

Red: 216 / Green: 151 / Blue: 204

HSL

311°, 45%, 72%

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

CMYK

0%, 30%, 6%, 15%

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

What color is #D897CC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D897CC to RGB:

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

HEX to HSL

Convert #D897CC to HSL:

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

HEX to CMYK

Convert #D897CC to CMYK:

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

Color Meaning and Usage

A subtle magenta tone, #D897CC has RGB (216, 151, 204) and HSL (311°, 45%, 72%). 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 #D897CC is #97D8A3, creating high-contrast pairings. For softer combinations, try analogous colors like #C397D8.

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

Contrast with #D897CC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D897CC?

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

What is the RGB value of #D897CC?

#D897CC in RGB is (216, 151, 204) - 216 red, 151 green, and 204 blue.

How to use #D897CC in CSS?

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

What colors go well with #D897CC?

#97D8A3 (complementary), #C397D8 (analogous), and #C360B1 (lighter shade) work well with #D897CC.