#EC1862 Color Information

Hex color code: #EC1862

The hex color #EC1862 is a bold magenta with RGB values of (236, 24, 98) and HSL of (339°, 85%, 51%). It is frequently seen in web interfaces.

Try:
Color NameCrimson
HEX
#EC1862
RGB
236, 24, 98
HSL
339°, 85%, 51%
CMYK
0%, 90%, 58%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EC1862; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

236, 24, 98

Red: 236 / Green: 24 / Blue: 98

HSL

339°, 85%, 51%

Hue: 339° / Saturation: 85% / Lightness: 51%

CMYK

0%, 90%, 58%, 7%

Cyan: 0% / Magenta: 90% / Yellow: 58% / Key: 7%

What color is #EC1862?

#EC1862 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EC1862 to RGB:

rgb(236, 24, 98)HEX to RGB Converter →

HEX to HSL

Convert #EC1862 to HSL:

hsl(339, 85%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #EC1862 to CMYK:

cmyk(0%, 90%, 58%, 7%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #EC1862 has RGB (236, 24, 98) and HSL (339°, 85%, 51%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EC1862 is #18ECA2, creating high-contrast pairings. For softer combinations, try analogous colors like #EC18CC.

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

Contrast with #EC1862

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

Contrast Ratio: 4.87:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EC1862?

#EC1862 is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EC1862?

#EC1862 in RGB is (236, 24, 98) - 236 red, 24 green, and 98 blue.

How to use #EC1862 in CSS?

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

What colors go well with #EC1862?

#18ECA2 (complementary), #EC18CC (analogous), and #AA0E44 (lighter shade) work well with #EC1862.