#D397A7 Color Information

Hex color code: #D397A7

A gentle magenta shade, #D397A7 appears as (211, 151, 167) in RGB and (344°, 41%, 71%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#D397A7
RGB
211, 151, 167
HSL
344°, 41%, 71%
CMYK
0%, 28%, 21%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D397A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 151, 167

Red: 211 / Green: 151 / Blue: 167

HSL

344°, 41%, 71%

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

CMYK

0%, 28%, 21%, 17%

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

What color is #D397A7?

#D397A7 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D397A7 to RGB:

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

HEX to HSL

Convert #D397A7 to HSL:

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

HEX to CMYK

Convert #D397A7 to CMYK:

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

Color Meaning and Usage

#D397A7 is a gentle magenta color with RGB values of 211, 151, 167 and HSL of 344°, 41%, 71%. This red-orange hue evokes warmth and passion, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D397A7 is #97D3C3, creating high-contrast pairings. For softer combinations, try analogous colors like #D397C5.

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

Contrast with #D397A7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D397A7?

#D397A7 is a gentle magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D397A7?

#D397A7 in RGB is (211, 151, 167) - 211 red, 151 green, and 167 blue.

How to use #D397A7 in CSS?

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

What colors go well with #D397A7?

#97D3C3 (complementary), #D397C5 (analogous), and #BD6179 (lighter shade) work well with #D397A7.