#3A162C

A very dark, moderate magenta closely aligning with Black.

About #3A162C

The hex code #3A162C represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Black. In the RGB color space, it consists of 58 red, 22 green, and 44 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 62% Magenta, 24% Yellow, and 77% Black. With a hue angle of 323.3 degrees, it sits comfortably in the magenta spectrum.

From a UX and accessibility standpoint, contrast is paramount. Because it is a very dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#3A162C
RGB58, 22, 44
HSL323.3°, 45.0%, 15.7%
CMYK0%, 62%, 24%, 77%
HSV323.3°, 62.1%, 22.7%
LAB13.6, 21.0, -6.4
XYZ2.5, 1.7, 2.6
Decimal3806764

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.78:1
Text on #FFFFFF
AAA
1.33:1
Text on #000000
FAIL
15.08:1
Text on #F8FAFC
AAA
1.13:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #3A162C; }
.text-color { color: #3A162C; }
.border-color { border: 2px solid #3A162C; }

Similar Colors

Black
#000000