#520B60 Color Information

Hex color code: #520B60

The hex color #520B60 is a rich magenta with RGB values of (82, 11, 96) and HSL of (290°, 79%, 21%). It is often used for branding and logos.

Try:
Color NameIndigo
HEX
#520B60
RGB
82, 11, 96
HSL
290°, 79%, 21%
CMYK
15%, 89%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #520B60; 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 #520B60; background-color: #520B6015; }

Alert / Toast

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

Link / Accent

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

a { color: #520B60; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #520B60 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 11, 96

Red: 82 / Green: 11 / Blue: 96

HSL

290°, 79%, 21%

Hue: 290° / Saturation: 79% / Lightness: 21%

CMYK

15%, 89%, 0%, 62%

Cyan: 15% / Magenta: 89% / Yellow: 0% / Key: 62%

What color is #520B60?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #520B60 to RGB:

rgb(82, 11, 96)HEX to RGB Converter →

HEX to HSL

Convert #520B60 to HSL:

hsl(290, 79%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #520B60 to CMYK:

cmyk(15%, 89%, 0%, 62%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #520B60 has RGB (82, 11, 96) and HSL (290°, 79%, 21%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #520B60 is #19600B, creating high-contrast pairings. For softer combinations, try analogous colors like #270B60.

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

Contrast with #520B60

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #520B60?

#520B60 is a dark magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #520B60?

#520B60 in RGB is (82, 11, 96) - 82 red, 11 green, and 96 blue.

How to use #520B60 in CSS?

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

What colors go well with #520B60?

#19600B (complementary), #270B60 (analogous), and #17031B (lighter shade) work well with #520B60.