#EB2873 Color Information

Hex color code: #EB2873

#EB2873 is a dynamic magenta color. In RGB it is (235, 40, 115), and in HSL it is (337°, 83%, 54%). It is typically applied in digital products.

Try:
Color NameViolet Red
HEX
#EB2873
RGB
235, 40, 115
HSL
337°, 83%, 54%
CMYK
0%, 83%, 51%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #EB2873; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

235, 40, 115

Red: 235 / Green: 40 / Blue: 115

HSL

337°, 83%, 54%

Hue: 337° / Saturation: 83% / Lightness: 54%

CMYK

0%, 83%, 51%, 8%

Cyan: 0% / Magenta: 83% / Yellow: 51% / Key: 8%

What color is #EB2873?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #EB2873 to RGB:

rgb(235, 40, 115)HEX to RGB Converter →

HEX to HSL

Convert #EB2873 to HSL:

hsl(337, 83%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #EB2873 to CMYK:

cmyk(0%, 83%, 51%, 8%)Color Converter →

Color Meaning and Usage

#EB2873 is a bold magenta color with RGB values of 235, 40, 115 and HSL of 337°, 83%, 54%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #EB2873 is #28EBA0, creating high-contrast pairings. For softer combinations, try analogous colors like #EB28D4.

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

Contrast with #EB2873

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #EB2873?

#EB2873 is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #EB2873?

#EB2873 in RGB is (235, 40, 115) - 235 red, 40 green, and 115 blue.

How to use #EB2873 in CSS?

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

What colors go well with #EB2873?

#28EBA0 (complementary), #EB28D4 (analogous), and #B61150 (lighter shade) work well with #EB2873.