#D798BF Color Information

Hex color code: #D798BF

#D798BF is a gentle magenta color. In RGB it is (215, 152, 191), and in HSL it is (323°, 44%, 72%). It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#D798BF
RGB
215, 152, 191
HSL
323°, 44%, 72%
CMYK
0%, 29%, 11%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D798BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 152, 191

Red: 215 / Green: 152 / Blue: 191

HSL

323°, 44%, 72%

Hue: 323° / Saturation: 44% / Lightness: 72%

CMYK

0%, 29%, 11%, 16%

Cyan: 0% / Magenta: 29% / Yellow: 11% / Key: 16%

What color is #D798BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D798BF to RGB:

rgb(215, 152, 191)HEX to RGB Converter →

HEX to HSL

Convert #D798BF to HSL:

hsl(323, 44%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #D798BF to CMYK:

cmyk(0%, 29%, 11%, 16%)Color Converter →

Color Meaning and Usage

#D798BF is a gentle magenta color with RGB values of 215, 152, 191 and HSL of 323°, 44%, 72%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D798BF is #98D7B0, creating high-contrast pairings. For softer combinations, try analogous colors like #D098D7.

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

Contrast with #D798BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D798BF?

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

What is the RGB value of #D798BF?

#D798BF in RGB is (215, 152, 191) - 215 red, 152 green, and 191 blue.

How to use #D798BF in CSS?

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

What colors go well with #D798BF?

#98D7B0 (complementary), #D098D7 (analogous), and #C2619D (lighter shade) work well with #D798BF.