#462540 Color Information

Hex color code: #462540

A rich magenta shade, #462540 appears as (70, 37, 64) in RGB and (311°, 31%, 21%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#462540
RGB
70, 37, 64
HSL
311°, 31%, 21%
CMYK
0%, 47%, 9%, 73%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #462540; 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 #462540; background-color: #46254015; }

Alert / Toast

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

Link / Accent

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

a { color: #462540; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #462540 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

70, 37, 64

Red: 70 / Green: 37 / Blue: 64

HSL

311°, 31%, 21%

Hue: 311° / Saturation: 31% / Lightness: 21%

CMYK

0%, 47%, 9%, 73%

Cyan: 0% / Magenta: 47% / Yellow: 9% / Key: 73%

What color is #462540?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #462540 to RGB:

rgb(70, 37, 64)HEX to RGB Converter →

HEX to HSL

Convert #462540 to HSL:

hsl(311, 31%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #462540 to CMYK:

cmyk(0%, 47%, 9%, 73%)Color Converter →

Color Meaning and Usage

A rich magenta tone, #462540 has RGB (70, 37, 64) and HSL (311°, 31%, 21%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #462540 is #25462B, creating high-contrast pairings. For softer combinations, try analogous colors like #3C2546.

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

Contrast with #462540

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #462540?

#462540 is a rich magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #462540?

#462540 in RGB is (70, 37, 64) - 70 red, 37 green, and 64 blue.

How to use #462540 in CSS?

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

What colors go well with #462540?

#25462B (complementary), #3C2546 (analogous), and #140B12 (lighter shade) work well with #462540.