#EC98D7 Color Information

Hex color code: #EC98D7

A soft magenta shade, #EC98D7 appears as (236, 152, 215) in RGB and (315°, 69%, 76%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#EC98D7
RGB
236, 152, 215
HSL
315°, 69%, 76%
CMYK
0%, 36%, 9%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC98D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 152, 215

Red: 236 / Green: 152 / Blue: 215

HSL

315°, 69%, 76%

Hue: 315° / Saturation: 69% / Lightness: 76%

CMYK

0%, 36%, 9%, 7%

Cyan: 0% / Magenta: 36% / Yellow: 9% / Key: 7%

What color is #EC98D7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC98D7 to RGB:

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

HEX to HSL

Convert #EC98D7 to HSL:

hsl(315, 69%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #EC98D7 to CMYK:

cmyk(0%, 36%, 9%, 7%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #EC98D7 has RGB (236, 152, 215) and HSL (315°, 69%, 76%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC98D7 is #98ECAD, creating high-contrast pairings. For softer combinations, try analogous colors like #D798EC.

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

Contrast with #EC98D7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC98D7?

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

What is the RGB value of #EC98D7?

#EC98D7 in RGB is (236, 152, 215) - 236 red, 152 green, and 215 blue.

How to use #EC98D7 in CSS?

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

What colors go well with #EC98D7?

#98ECAD (complementary), #D798EC (analogous), and #E057BE (lighter shade) work well with #EC98D7.