#512753 Color Information

Hex color code: #512753

A rich magenta shade, #512753 appears as (81, 39, 83) in RGB and (297°, 36%, 24%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#512753
RGB
81, 39, 83
HSL
297°, 36%, 24%
CMYK
2%, 53%, 0%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #512753; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 39, 83

Red: 81 / Green: 39 / Blue: 83

HSL

297°, 36%, 24%

Hue: 297° / Saturation: 36% / Lightness: 24%

CMYK

2%, 53%, 0%, 67%

Cyan: 2% / Magenta: 53% / Yellow: 0% / Key: 67%

What color is #512753?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #512753 to RGB:

rgb(81, 39, 83)HEX to RGB Converter →

HEX to HSL

Convert #512753 to HSL:

hsl(297, 36%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #512753 to CMYK:

cmyk(2%, 53%, 0%, 67%)Color Converter →

Color Meaning and Usage

#512753 is a deep magenta color with RGB values of 81, 39, 83 and HSL of 297°, 36%, 24%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #512753 is #295327, creating high-contrast pairings. For softer combinations, try analogous colors like #3B2753.

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

Contrast with #512753

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #512753?

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

What is the RGB value of #512753?

#512753 in RGB is (81, 39, 83) - 81 red, 39 green, and 83 blue.

How to use #512753 in CSS?

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

What colors go well with #512753?

#295327 (complementary), #3B2753 (analogous), and #1E0F1F (lighter shade) work well with #512753.