#522352 Color Information

Hex color code: #522352

A dramatic magenta shade, #522352 appears as (82, 35, 82) in RGB and (300°, 40%, 23%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#522352
RGB
82, 35, 82
HSL
300°, 40%, 23%
CMYK
0%, 57%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #522352; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 35, 82

Red: 82 / Green: 35 / Blue: 82

HSL

300°, 40%, 23%

Hue: 300° / Saturation: 40% / Lightness: 23%

CMYK

0%, 57%, 0%, 68%

Cyan: 0% / Magenta: 57% / Yellow: 0% / Key: 68%

What color is #522352?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #522352 to RGB:

rgb(82, 35, 82)HEX to RGB Converter →

HEX to HSL

Convert #522352 to HSL:

hsl(300, 40%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #522352 to CMYK:

cmyk(0%, 57%, 0%, 68%)Color Converter →

Color Meaning and Usage

#522352 is a dark magenta color with RGB values of 82, 35, 82 and HSL of 300°, 40%, 23%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #522352 is #235223, creating high-contrast pairings. For softer combinations, try analogous colors like #3B2352.

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

Contrast with #522352

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #522352?

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

What is the RGB value of #522352?

#522352 in RGB is (82, 35, 82) - 82 red, 35 green, and 82 blue.

How to use #522352 in CSS?

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

What colors go well with #522352?

#235223 (complementary), #3B2352 (analogous), and #1D0C1D (lighter shade) work well with #522352.