#511536 Color Information

Hex color code: #511536

A deep magenta shade, #511536 appears as (81, 21, 54) in RGB and (327°, 59%, 20%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#511536
RGB
81, 21, 54
HSL
327°, 59%, 20%
CMYK
0%, 74%, 33%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #511536; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 21, 54

Red: 81 / Green: 21 / Blue: 54

HSL

327°, 59%, 20%

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

CMYK

0%, 74%, 33%, 68%

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

What color is #511536?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #511536 to RGB:

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

HEX to HSL

Convert #511536 to HSL:

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

HEX to CMYK

Convert #511536 to CMYK:

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

Color Meaning and Usage

A deep magenta tone, #511536 has RGB (81, 21, 54) and HSL (327°, 59%, 20%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #511536 is #155130, creating high-contrast pairings. For softer combinations, try analogous colors like #4E1551.

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

Contrast with #511536

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #511536?

#511536 is a deep magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #511536?

#511536 in RGB is (81, 21, 54) - 81 red, 21 green, and 54 blue.

How to use #511536 in CSS?

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

What colors go well with #511536?

#155130 (complementary), #4E1551 (analogous), and #14050E (lighter shade) work well with #511536.