#51243E Color Information

Hex color code: #51243E

The hex color #51243E is a dramatic magenta with RGB values of (81, 36, 62) and HSL of (325°, 38%, 23%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#51243E
RGB
81, 36, 62
HSL
325°, 38%, 23%
CMYK
0%, 56%, 23%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #51243E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #51243E; 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 #51243E; background-color: #51243E15; }

Alert / Toast

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

Link / Accent

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

a { color: #51243E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51243E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 36, 62

Red: 81 / Green: 36 / Blue: 62

HSL

325°, 38%, 23%

Hue: 325° / Saturation: 38% / Lightness: 23%

CMYK

0%, 56%, 23%, 68%

Cyan: 0% / Magenta: 56% / Yellow: 23% / Key: 68%

What color is #51243E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51243E to RGB:

rgb(81, 36, 62)HEX to RGB Converter →

HEX to HSL

Convert #51243E to HSL:

hsl(325, 38%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #51243E to CMYK:

cmyk(0%, 56%, 23%, 68%)Color Converter →

Color Meaning and Usage

A rich magenta tone, #51243E has RGB (81, 36, 62) and HSL (325°, 38%, 23%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51243E is #245137, creating high-contrast pairings. For softer combinations, try analogous colors like #4D2451.

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

Contrast with #51243E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51243E?

#51243E is a rich magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #51243E?

#51243E in RGB is (81, 36, 62) - 81 red, 36 green, and 62 blue.

How to use #51243E in CSS?

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

What colors go well with #51243E?

#245137 (complementary), #4D2451 (analogous), and #1C0D16 (lighter shade) work well with #51243E.