#D48EC5 Color Information

Hex color code: #D48EC5

A gentle magenta shade, #D48EC5 appears as (212, 142, 197) in RGB and (313°, 45%, 69%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#D48EC5
RGB
212, 142, 197
HSL
313°, 45%, 69%
CMYK
0%, 33%, 7%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D48EC5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 142, 197

Red: 212 / Green: 142 / Blue: 197

HSL

313°, 45%, 69%

Hue: 313° / Saturation: 45% / Lightness: 69%

CMYK

0%, 33%, 7%, 17%

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

What color is #D48EC5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D48EC5 to RGB:

rgb(212, 142, 197)HEX to RGB Converter →

HEX to HSL

Convert #D48EC5 to HSL:

hsl(313, 45%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D48EC5 to CMYK:

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

Color Meaning and Usage

A soft magenta tone, #D48EC5 has RGB (212, 142, 197) and HSL (313°, 45%, 69%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D48EC5 is #8CD49C, creating high-contrast pairings. For softer combinations, try analogous colors like #BF8CD4.

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

Contrast with #D48EC5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D48EC5?

#D48EC5 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D48EC5?

#D48EC5 in RGB is (212, 142, 197) - 212 red, 142 green, and 197 blue.

How to use #D48EC5 in CSS?

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

What colors go well with #D48EC5?

#8CD49C (complementary), #BF8CD4 (analogous), and #BE55A8 (lighter shade) work well with #D48EC5.