#520F61 Color Information

Hex color code: #520F61

A rich magenta shade, #520F61 appears as (82, 15, 97) in RGB and (289°, 73%, 22%) in HSL. It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#520F61
RGB
82, 15, 97
HSL
289°, 73%, 22%
CMYK
15%, 85%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #520F61; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 15, 97

Red: 82 / Green: 15 / Blue: 97

HSL

289°, 73%, 22%

Hue: 289° / Saturation: 73% / Lightness: 22%

CMYK

15%, 85%, 0%, 62%

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

What color is #520F61?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #520F61 to RGB:

rgb(82, 15, 97)HEX to RGB Converter →

HEX to HSL

Convert #520F61 to HSL:

hsl(289, 73%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #520F61 to CMYK:

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

Color Meaning and Usage

A deep magenta tone, #520F61 has RGB (82, 15, 97) and HSL (289°, 73%, 22%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #520F61 is #1E610F, creating high-contrast pairings. For softer combinations, try analogous colors like #290F61.

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

Contrast with #520F61

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #520F61?

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

What is the RGB value of #520F61?

#520F61 in RGB is (82, 15, 97) - 82 red, 15 green, and 97 blue.

How to use #520F61 in CSS?

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

What colors go well with #520F61?

#1E610F (complementary), #290F61 (analogous), and #1A051F (lighter shade) work well with #520F61.