#EB42D5 Color Information

Hex color code: #EB42D5

A dynamic magenta shade, #EB42D5 appears as (235, 66, 213) in RGB and (308°, 81%, 59%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#EB42D5
RGB
235, 66, 213
HSL
308°, 81%, 59%
CMYK
0%, 72%, 9%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EB42D5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

235, 66, 213

Red: 235 / Green: 66 / Blue: 213

HSL

308°, 81%, 59%

Hue: 308° / Saturation: 81% / Lightness: 59%

CMYK

0%, 72%, 9%, 8%

Cyan: 0% / Magenta: 72% / Yellow: 9% / Key: 8%

What color is #EB42D5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EB42D5 to RGB:

rgb(235, 66, 213)HEX to RGB Converter →

HEX to HSL

Convert #EB42D5 to HSL:

hsl(308, 81%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #EB42D5 to CMYK:

cmyk(0%, 72%, 9%, 8%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #EB42D5 has RGB (235, 66, 213) and HSL (308°, 81%, 59%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EB42D5 is #42EB58, creating high-contrast pairings. For softer combinations, try analogous colors like #AD42EB.

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

Contrast with #EB42D5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EB42D5?

#EB42D5 is a vivid magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EB42D5?

#EB42D5 in RGB is (235, 66, 213) - 235 red, 66 green, and 213 blue.

How to use #EB42D5 in CSS?

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

What colors go well with #EB42D5?

#42EB58 (complementary), #AD42EB (analogous), and #CB15B3 (lighter shade) work well with #EB42D5.