#D12EC4 Color Information

Hex color code: #D12EC4

#D12EC4 is a balanced magenta color. In RGB it is (209, 46, 196), and in HSL it is (305°, 64%, 50%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#D12EC4
RGB
209, 46, 196
HSL
305°, 64%, 50%
CMYK
0%, 78%, 6%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D12EC4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

209, 46, 196

Red: 209 / Green: 46 / Blue: 196

HSL

305°, 64%, 50%

Hue: 305° / Saturation: 64% / Lightness: 50%

CMYK

0%, 78%, 6%, 18%

Cyan: 0% / Magenta: 78% / Yellow: 6% / Key: 18%

What color is #D12EC4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D12EC4 to RGB:

rgb(209, 46, 196)HEX to RGB Converter →

HEX to HSL

Convert #D12EC4 to HSL:

hsl(305, 64%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D12EC4 to CMYK:

cmyk(0%, 78%, 6%, 18%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #D12EC4 has RGB (209, 46, 196) and HSL (305°, 64%, 50%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D12EC4 is #2ED13C, creating high-contrast pairings. For softer combinations, try analogous colors like #8D2ED1.

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

Contrast with #D12EC4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D12EC4?

#D12EC4 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D12EC4?

#D12EC4 in RGB is (209, 46, 196) - 209 red, 46 green, and 196 blue.

How to use #D12EC4 in CSS?

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

What colors go well with #D12EC4?

#2ED13C (complementary), #8D2ED1 (analogous), and #922089 (lighter shade) work well with #D12EC4.