#5F072C Color Information

Hex color code: #5F072C

A dark magenta shade, #5F072C appears as (95, 7, 44) in RGB and (335°, 86%, 20%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMaroon
HEX
#5F072C
RGB
95, 7, 44
HSL
335°, 86%, 20%
CMYK
0%, 93%, 54%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5F072C; 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 #5F072C; background-color: #5F072C15; }

Alert / Toast

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

Link / Accent

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

a { color: #5F072C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5F072C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 7, 44

Red: 95 / Green: 7 / Blue: 44

HSL

335°, 86%, 20%

Hue: 335° / Saturation: 86% / Lightness: 20%

CMYK

0%, 93%, 54%, 63%

Cyan: 0% / Magenta: 93% / Yellow: 54% / Key: 63%

What color is #5F072C?

#5F072C is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F072C to RGB:

rgb(95, 7, 44)HEX to RGB Converter →

HEX to HSL

Convert #5F072C to HSL:

hsl(335, 86%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #5F072C to CMYK:

cmyk(0%, 93%, 54%, 63%)Color Converter →

Color Meaning and Usage

#5F072C is a dark magenta color with RGB values of 95, 7, 44 and HSL of 335°, 86%, 20%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F072C is #075F3A, creating high-contrast pairings. For softer combinations, try analogous colors like #5F0758.

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

Contrast with #5F072C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F072C?

#5F072C is a dark magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #5F072C?

#5F072C in RGB is (95, 7, 44) - 95 red, 7 green, and 44 blue.

How to use #5F072C in CSS?

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

What colors go well with #5F072C?

#075F3A (complementary), #5F0758 (analogous), and #18020B (lighter shade) work well with #5F072C.