#51384E Color Information

Hex color code: #51384E

The hex color #51384E is a understated magenta with RGB values of (81, 56, 78) and HSL of (307°, 18%, 27%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#51384E
RGB
81, 56, 78
HSL
307°, 18%, 27%
CMYK
0%, 31%, 4%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #51384E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 56, 78

Red: 81 / Green: 56 / Blue: 78

HSL

307°, 18%, 27%

Hue: 307° / Saturation: 18% / Lightness: 27%

CMYK

0%, 31%, 4%, 68%

Cyan: 0% / Magenta: 31% / Yellow: 4% / Key: 68%

What color is #51384E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51384E to RGB:

rgb(81, 56, 78)HEX to RGB Converter →

HEX to HSL

Convert #51384E to HSL:

hsl(307, 18%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #51384E to CMYK:

cmyk(0%, 31%, 4%, 68%)Color Converter →

Color Meaning and Usage

#51384E is a understated magenta color with RGB values of 81, 56, 78 and HSL of 307°, 18%, 27%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51384E is #38513B, creating high-contrast pairings. For softer combinations, try analogous colors like #483851.

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

Contrast with #51384E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51384E?

#51384E is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #51384E?

#51384E in RGB is (81, 56, 78) - 81 red, 56 green, and 78 blue.

How to use #51384E in CSS?

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

What colors go well with #51384E?

#38513B (complementary), #483851 (analogous), and #241923 (lighter shade) work well with #51384E.