#5B1A34 Color Information

Hex color code: #5B1A34

A dramatic magenta shade, #5B1A34 appears as (91, 26, 52) in RGB and (336°, 56%, 23%) in HSL. It is typically applied in digital products.

Try:
Color NameMaroon
HEX
#5B1A34
RGB
91, 26, 52
HSL
336°, 56%, 23%
CMYK
0%, 71%, 43%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5B1A34; 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 #5B1A34; background-color: #5B1A3415; }

Alert / Toast

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

Link / Accent

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

a { color: #5B1A34; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 26, 52

Red: 91 / Green: 26 / Blue: 52

HSL

336°, 56%, 23%

Hue: 336° / Saturation: 56% / Lightness: 23%

CMYK

0%, 71%, 43%, 64%

Cyan: 0% / Magenta: 71% / Yellow: 43% / Key: 64%

What color is #5B1A34?

#5B1A34 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B1A34 to RGB:

rgb(91, 26, 52)HEX to RGB Converter →

HEX to HSL

Convert #5B1A34 to HSL:

hsl(336, 56%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #5B1A34 to CMYK:

cmyk(0%, 71%, 43%, 64%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #5B1A34 has RGB (91, 26, 52) and HSL (336°, 56%, 23%). Known for evoking warmth and passion, this red-orange hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B1A34 is #1A5B41, creating high-contrast pairings. For softer combinations, try analogous colors like #5B1A55.

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

Contrast with #5B1A34

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B1A34?

#5B1A34 is a dark magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #5B1A34?

#5B1A34 in RGB is (91, 26, 52) - 91 red, 26 green, and 52 blue.

How to use #5B1A34 in CSS?

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

What colors go well with #5B1A34?

#1A5B41 (complementary), #5B1A55 (analogous), and #200912 (lighter shade) work well with #5B1A34.