#D451EC Color Information

Hex color code: #D451EC

#D451EC is a dynamic magenta color. In RGB it is (212, 81, 236), and in HSL it is (291°, 80%, 62%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#D451EC
RGB
212, 81, 236
HSL
291°, 80%, 62%
CMYK
10%, 66%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D451EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 81, 236

Red: 212 / Green: 81 / Blue: 236

HSL

291°, 80%, 62%

Hue: 291° / Saturation: 80% / Lightness: 62%

CMYK

10%, 66%, 0%, 7%

Cyan: 10% / Magenta: 66% / Yellow: 0% / Key: 7%

What color is #D451EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D451EC to RGB:

rgb(212, 81, 236)HEX to RGB Converter →

HEX to HSL

Convert #D451EC to HSL:

hsl(291, 80%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #D451EC to CMYK:

cmyk(10%, 66%, 0%, 7%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #D451EC has RGB (212, 81, 236) and HSL (291°, 80%, 62%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D451EC is #68EC51, creating high-contrast pairings. For softer combinations, try analogous colors like #8751EC.

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

Contrast with #D451EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D451EC?

#D451EC is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D451EC?

#D451EC in RGB is (212, 81, 236) - 212 red, 81 green, and 236 blue.

How to use #D451EC in CSS?

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

What colors go well with #D451EC?

#68EC51 (complementary), #8751EC (analogous), and #BB18D8 (lighter shade) work well with #D451EC.