#D797CB Color Information

Hex color code: #D797CB

The hex color #D797CB is a delicate magenta with RGB values of (215, 151, 203) and HSL of (311°, 44%, 72%). It is popular in mobile app design.

Try:
Color NamePlum
HEX
#D797CB
RGB
215, 151, 203
HSL
311°, 44%, 72%
CMYK
0%, 30%, 6%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D797CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 151, 203

Red: 215 / Green: 151 / Blue: 203

HSL

311°, 44%, 72%

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

CMYK

0%, 30%, 6%, 16%

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

What color is #D797CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D797CB to RGB:

rgb(215, 151, 203)HEX to RGB Converter →

HEX to HSL

Convert #D797CB to HSL:

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

HEX to CMYK

Convert #D797CB to CMYK:

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

Color Meaning and Usage

A delicate magenta tone, #D797CB has RGB (215, 151, 203) and HSL (311°, 44%, 72%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D797CB is #98D7A4, creating high-contrast pairings. For softer combinations, try analogous colors like #C398D7.

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

Contrast with #D797CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D797CB?

#D797CB is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D797CB?

#D797CB in RGB is (215, 151, 203) - 215 red, 151 green, and 203 blue.

How to use #D797CB in CSS?

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

What colors go well with #D797CB?

#98D7A4 (complementary), #C398D7 (analogous), and #C261B0 (lighter shade) work well with #D797CB.