#5E0828 Color Information

Hex color code: #5E0828

A dramatic magenta shade, #5E0828 appears as (94, 8, 40) in RGB and (338°, 84%, 20%) in HSL. It is typically applied in digital products.

Try:
Color NameMaroon
HEX
#5E0828
RGB
94, 8, 40
HSL
338°, 84%, 20%
CMYK
0%, 91%, 57%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #5E0828; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5E0828; color: #FFFFFF; }

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 #5E0828; background-color: #5E082815; }

Alert / Toast

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

Link / Accent

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

a { color: #5E0828; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5E0828 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

94, 8, 40

Red: 94 / Green: 8 / Blue: 40

HSL

338°, 84%, 20%

Hue: 338° / Saturation: 84% / Lightness: 20%

CMYK

0%, 91%, 57%, 63%

Cyan: 0% / Magenta: 91% / Yellow: 57% / Key: 63%

What color is #5E0828?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5E0828 to RGB:

rgb(94, 8, 40)HEX to RGB Converter →

HEX to HSL

Convert #5E0828 to HSL:

hsl(338, 84%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #5E0828 to CMYK:

cmyk(0%, 91%, 57%, 63%)Color Converter →

Color Meaning and Usage

#5E0828 is a rich magenta color with RGB values of 94, 8, 40 and HSL of 338°, 84%, 20%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5E0828 is #085E3E, creating high-contrast pairings. For softer combinations, try analogous colors like #5E0852.

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

Contrast with #5E0828

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

Contrast Ratio: 1.54:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5E0828?

#5E0828 is a rich magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #5E0828?

#5E0828 in RGB is (94, 8, 40) - 94 red, 8 green, and 40 blue.

How to use #5E0828 in CSS?

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

What colors go well with #5E0828?

#085E3E (complementary), #5E0852 (analogous), and #17020A (lighter shade) work well with #5E0828.