#522346 Color Information

Hex color code: #522346

A deep magenta shade, #522346 appears as (82, 35, 70) in RGB and (315°, 40%, 23%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#522346
RGB
82, 35, 70
HSL
315°, 40%, 23%
CMYK
0%, 57%, 15%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #522346; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 35, 70

Red: 82 / Green: 35 / Blue: 70

HSL

315°, 40%, 23%

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

CMYK

0%, 57%, 15%, 68%

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

What color is #522346?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #522346 to RGB:

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

HEX to HSL

Convert #522346 to HSL:

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

HEX to CMYK

Convert #522346 to CMYK:

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

Color Meaning and Usage

#522346 is a rich magenta color with RGB values of 82, 35, 70 and HSL of 315°, 40%, 23%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #522346 is #23522F, creating high-contrast pairings. For softer combinations, try analogous colors like #462352.

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

Contrast with #522346

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #522346?

#522346 is a rich magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #522346?

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

How to use #522346 in CSS?

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

What colors go well with #522346?

#23522F (complementary), #462352 (analogous), and #1D0C18 (lighter shade) work well with #522346.