#D397C5 Color Information

Hex color code: #D397C5

#D397C5 is a pastel magenta color. In RGB it is (211, 151, 197), and in HSL it is (314°, 41%, 71%). It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#D397C5
RGB
211, 151, 197
HSL
314°, 41%, 71%
CMYK
0%, 28%, 7%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D397C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 151, 197

Red: 211 / Green: 151 / Blue: 197

HSL

314°, 41%, 71%

Hue: 314° / Saturation: 41% / Lightness: 71%

CMYK

0%, 28%, 7%, 17%

Cyan: 0% / Magenta: 28% / Yellow: 7% / Key: 17%

What color is #D397C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D397C5 to RGB:

rgb(211, 151, 197)HEX to RGB Converter →

HEX to HSL

Convert #D397C5 to HSL:

hsl(314, 41%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D397C5 to CMYK:

cmyk(0%, 28%, 7%, 17%)Color Converter →

Color Meaning and Usage

#D397C5 is a gentle magenta color with RGB values of 211, 151, 197 and HSL of 314°, 41%, 71%. 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 #D397C5 is #97D3A5, creating high-contrast pairings. For softer combinations, try analogous colors like #C397D3.

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

Contrast with #D397C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D397C5?

#D397C5 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D397C5?

#D397C5 in RGB is (211, 151, 197) - 211 red, 151 green, and 197 blue.

How to use #D397C5 in CSS?

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

What colors go well with #D397C5?

#97D3A5 (complementary), #C397D3 (analogous), and #BD61A7 (lighter shade) work well with #D397C5.