#512945 Color Information
Hex color code: #512945
A deep magenta shade, #512945 appears as (81, 41, 69) in RGB and (318°, 33%, 24%) in HSL. It is frequently seen in web interfaces.
Shades
color: #512945; background-color: #512945; border-color: #512945; box-shadow: 0 0 10px #512945; border: 2px solid #512945;
bg-[#512945] text-[#512945] border-[#512945] shadow-[0_0_10px_512945]
Generate Gradient
background: linear-gradient(90deg, #512945, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #512945 in the color wheel.
RGB, HSL and CMYK Values
RGB
81, 41, 69
Red: 81 / Green: 41 / Blue: 69
HSL
318°, 33%, 24%
Hue: 318° / Saturation: 33% / Lightness: 24%
CMYK
0%, 49%, 15%, 68%
Cyan: 0% / Magenta: 49% / Yellow: 15% / Key: 68%
What color is #512945?
#512945 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A rich magenta tone, #512945 has RGB (81, 41, 69) and HSL (318°, 33%, 24%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #512945 is #295135, creating high-contrast pairings. For softer combinations, try analogous colors like #492951.
Use #512945 in CSS: color: #512945 or background-color: #512945. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #512945
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #512945?
#512945 is a rich magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #512945?
#512945 in RGB is (81, 41, 69) - 81 red, 41 green, and 69 blue.
How to use #512945 in CSS?
Use #512945 directly in your CSS properties like color or background-color.