#512F36 Color Information

Hex color code: #512F36

The hex color #512F36 is a gentle red with RGB values of (81, 47, 54) and HSL of (348°, 27%, 25%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#512F36
RGB
81, 47, 54
HSL
348°, 27%, 25%
CMYK
0%, 42%, 33%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #512F36; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 47, 54

Red: 81 / Green: 47 / Blue: 54

HSL

348°, 27%, 25%

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

CMYK

0%, 42%, 33%, 68%

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

What color is #512F36?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #512F36 to RGB:

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

HEX to HSL

Convert #512F36 to HSL:

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

HEX to CMYK

Convert #512F36 to CMYK:

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

Color Meaning and Usage

A pastel red tone, #512F36 has RGB (81, 47, 54) and HSL (348°, 27%, 25%). Known for evoking warmth and passion, this red-orange hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #512F36 is #2F514A, creating high-contrast pairings. For softer combinations, try analogous colors like #512F47.

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

Contrast with #512F36

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #512F36?

#512F36 is a pastel red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #512F36?

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

How to use #512F36 in CSS?

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

What colors go well with #512F36?

#2F514A (complementary), #512F47 (analogous), and #201315 (lighter shade) work well with #512F36.