#D397AF Color Information

Hex color code: #D397AF

The hex color #D397AF is a gentle magenta with RGB values of (211, 151, 175) and HSL of (336°, 41%, 71%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#D397AF
RGB
211, 151, 175
HSL
336°, 41%, 71%
CMYK
0%, 28%, 17%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D397AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 151, 175

Red: 211 / Green: 151 / Blue: 175

HSL

336°, 41%, 71%

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

CMYK

0%, 28%, 17%, 17%

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

What color is #D397AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D397AF to RGB:

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

HEX to HSL

Convert #D397AF to HSL:

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

HEX to CMYK

Convert #D397AF to CMYK:

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

Color Meaning and Usage

#D397AF is a soft magenta color with RGB values of 211, 151, 175 and HSL of 336°, 41%, 71%. This red-orange hue evokes warmth and passion, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D397AF is #97D3BB, creating high-contrast pairings. For softer combinations, try analogous colors like #D397CD.

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

Contrast with #D397AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D397AF?

#D397AF is a soft magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D397AF?

#D397AF in RGB is (211, 151, 175) - 211 red, 151 green, and 175 blue.

How to use #D397AF in CSS?

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

What colors go well with #D397AF?

#97D3BB (complementary), #D397CD (analogous), and #BD6186 (lighter shade) work well with #D397AF.