#52225E Color Information

Hex color code: #52225E

The hex color #52225E is a soft magenta with RGB values of (82, 34, 94) and HSL of (288°, 47%, 25%). It is widely used in graphic design.

Try:
Color NameIndigo
HEX
#52225E
RGB
82, 34, 94
HSL
288°, 47%, 25%
CMYK
13%, 64%, 0%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #52225E; 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 #52225E; background-color: #52225E15; }

Alert / Toast

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

Link / Accent

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

a { color: #52225E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #52225E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 34, 94

Red: 82 / Green: 34 / Blue: 94

HSL

288°, 47%, 25%

Hue: 288° / Saturation: 47% / Lightness: 25%

CMYK

13%, 64%, 0%, 63%

Cyan: 13% / Magenta: 64% / Yellow: 0% / Key: 63%

What color is #52225E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #52225E to RGB:

rgb(82, 34, 94)HEX to RGB Converter →

HEX to HSL

Convert #52225E to HSL:

hsl(288, 47%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #52225E to CMYK:

cmyk(13%, 64%, 0%, 63%)Color Converter →

Color Meaning and Usage

#52225E is a gentle magenta color with RGB values of 82, 34, 94 and HSL of 288°, 47%, 25%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #52225E is #2E5E22, creating high-contrast pairings. For softer combinations, try analogous colors like #34225E.

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

Contrast with #52225E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #52225E?

#52225E is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #52225E?

#52225E in RGB is (82, 34, 94) - 82 red, 34 green, and 94 blue.

How to use #52225E in CSS?

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

What colors go well with #52225E?

#2E5E22 (complementary), #34225E (analogous), and #210E25 (lighter shade) work well with #52225E.