#51152C Color Information

Hex color code: #51152C

#51152C is a rich magenta color. In RGB it is (81, 21, 44), and in HSL it is (337°, 59%, 20%). It is popular in mobile app design.

Try:
Color NameMaroon
HEX
#51152C
RGB
81, 21, 44
HSL
337°, 59%, 20%
CMYK
0%, 74%, 46%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #51152C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #51152C; 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 #51152C; background-color: #51152C15; }

Alert / Toast

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

Link / Accent

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

a { color: #51152C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51152C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 21, 44

Red: 81 / Green: 21 / Blue: 44

HSL

337°, 59%, 20%

Hue: 337° / Saturation: 59% / Lightness: 20%

CMYK

0%, 74%, 46%, 68%

Cyan: 0% / Magenta: 74% / Yellow: 46% / Key: 68%

What color is #51152C?

#51152C is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51152C to RGB:

rgb(81, 21, 44)HEX to RGB Converter →

HEX to HSL

Convert #51152C to HSL:

hsl(337, 59%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #51152C to CMYK:

cmyk(0%, 74%, 46%, 68%)Color Converter →

Color Meaning and Usage

A intense magenta tone, #51152C has RGB (81, 21, 44) and HSL (337°, 59%, 20%). 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 #51152C is #15513A, creating high-contrast pairings. For softer combinations, try analogous colors like #51154A.

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

Contrast with #51152C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51152C?

#51152C is a intense magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #51152C?

#51152C in RGB is (81, 21, 44) - 81 red, 21 green, and 44 blue.

How to use #51152C in CSS?

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

What colors go well with #51152C?

#15513A (complementary), #51154A (analogous), and #14050B (lighter shade) work well with #51152C.