#EC98F0 Color Information

Hex color code: #EC98F0

A light magenta shade, #EC98F0 appears as (236, 152, 240) in RGB and (297°, 75%, 77%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#EC98F0
RGB
236, 152, 240
HSL
297°, 75%, 77%
CMYK
2%, 37%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC98F0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 152, 240

Red: 236 / Green: 152 / Blue: 240

HSL

297°, 75%, 77%

Hue: 297° / Saturation: 75% / Lightness: 77%

CMYK

2%, 37%, 0%, 6%

Cyan: 2% / Magenta: 37% / Yellow: 0% / Key: 6%

What color is #EC98F0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC98F0 to RGB:

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

HEX to HSL

Convert #EC98F0 to HSL:

hsl(297, 75%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #EC98F0 to CMYK:

cmyk(2%, 37%, 0%, 6%)Color Converter →

Color Meaning and Usage

#EC98F0 is a airy magenta color with RGB values of 236, 152, 240 and HSL of 297°, 75%, 77%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC98F0 is #9DF098, creating high-contrast pairings. For softer combinations, try analogous colors like #C098F0.

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

Contrast with #EC98F0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC98F0?

#EC98F0 is a airy magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #EC98F0?

#EC98F0 in RGB is (236, 152, 240) - 236 red, 152 green, and 240 blue.

How to use #EC98F0 in CSS?

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

What colors go well with #EC98F0?

#9DF098 (complementary), #C098F0 (analogous), and #E055E7 (lighter shade) work well with #EC98F0.