#512F39 Color Information

Hex color code: #512F39

The hex color #512F39 is a soft magenta with RGB values of (81, 47, 57) and HSL of (342°, 27%, 25%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#512F39
RGB
81, 47, 57
HSL
342°, 27%, 25%
CMYK
0%, 42%, 30%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #512F39; 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 #512F39; background-color: #512F3915; }

Alert / Toast

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

Link / Accent

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

a { color: #512F39; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #512F39 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 47, 57

Red: 81 / Green: 47 / Blue: 57

HSL

342°, 27%, 25%

Hue: 342° / Saturation: 27% / Lightness: 25%

CMYK

0%, 42%, 30%, 68%

Cyan: 0% / Magenta: 42% / Yellow: 30% / Key: 68%

What color is #512F39?

#512F39 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #512F39 to RGB:

rgb(81, 47, 57)HEX to RGB Converter →

HEX to HSL

Convert #512F39 to HSL:

hsl(342, 27%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #512F39 to CMYK:

cmyk(0%, 42%, 30%, 68%)Color Converter →

Color Meaning and Usage

#512F39 is a soft magenta color with RGB values of 81, 47, 57 and HSL of 342°, 27%, 25%. This red-orange hue evokes warmth and passion, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #512F39 is #2F5147, creating high-contrast pairings. For softer combinations, try analogous colors like #512F4A.

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

Contrast with #512F39

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #512F39?

#512F39 is a soft magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #512F39?

#512F39 in RGB is (81, 47, 57) - 81 red, 47 green, and 57 blue.

How to use #512F39 in CSS?

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

What colors go well with #512F39?

#2F5147 (complementary), #512F4A (analogous), and #201317 (lighter shade) work well with #512F39.