#400D45 Color Information
Hex color code: #400D45
The hex color #400D45 is a deep magenta with RGB values of (64, 13, 69) and HSL of (295°, 68%, 16%). It is commonly used in modern UI design.
Shades
color: #400D45; background-color: #400D45; border-color: #400D45; box-shadow: 0 0 10px #400D45; border: 2px solid #400D45;
bg-[#400D45] text-[#400D45] border-[#400D45] shadow-[0_0_10px_400D45]
Generate Gradient
background: linear-gradient(90deg, #400D45, #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 #400D45 in the color wheel.
RGB, HSL and CMYK Values
RGB
64, 13, 69
Red: 64 / Green: 13 / Blue: 69
HSL
295°, 68%, 16%
Hue: 295° / Saturation: 68% / Lightness: 16%
CMYK
7%, 81%, 0%, 73%
Cyan: 7% / Magenta: 81% / Yellow: 0% / Key: 73%
What color is #400D45?
#400D45 is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#400D45 is a rich magenta color with RGB values of 64, 13, 69 and HSL of 295°, 68%, 16%. This very dark shade evokes sophistication and elegance, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #400D45 is #12450D, creating high-contrast pairings. For softer combinations, try analogous colors like #240D45.
Use #400D45 in CSS: color: #400D45 or background-color: #400D45. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #400D45
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 #400D45?
#400D45 is a rich magenta color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #400D45?
#400D45 in RGB is (64, 13, 69) - 64 red, 13 green, and 69 blue.
How to use #400D45 in CSS?
Use #400D45 directly in your CSS properties like color or background-color.