#57126E Color Information

Hex color code: #57126E

A vivid magenta shade, #57126E appears as (87, 18, 110) in RGB and (285°, 72%, 25%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#57126E
RGB
87, 18, 110
HSL
285°, 72%, 25%
CMYK
21%, 84%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #57126E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

87, 18, 110

Red: 87 / Green: 18 / Blue: 110

HSL

285°, 72%, 25%

Hue: 285° / Saturation: 72% / Lightness: 25%

CMYK

21%, 84%, 0%, 57%

Cyan: 21% / Magenta: 84% / Yellow: 0% / Key: 57%

What color is #57126E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #57126E to RGB:

rgb(87, 18, 110)HEX to RGB Converter →

HEX to HSL

Convert #57126E to HSL:

hsl(285, 72%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #57126E to CMYK:

cmyk(21%, 84%, 0%, 57%)Color Converter →

Color Meaning and Usage

#57126E is a striking magenta color with RGB values of 87, 18, 110 and HSL of 285°, 72%, 25%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #57126E is #296E12, creating high-contrast pairings. For softer combinations, try analogous colors like #29126E.

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

Contrast with #57126E

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 #57126E?

#57126E is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #57126E?

#57126E in RGB is (87, 18, 110) - 87 red, 18 green, and 110 blue.

How to use #57126E in CSS?

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

What colors go well with #57126E?

#296E12 (complementary), #29126E (analogous), and #23072C (lighter shade) work well with #57126E.