#8A1D42

A dark, moderate magenta closely aligning with Brown.

About #8A1D42

When working with digital screens, the color #8A1D42 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Brown. In the RGB color space, it consists of 138 red, 29 green, and 66 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 79% magenta, 52% yellow, and 46% black. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#8A1D42
RGB138, 29, 66
HSL339.6°, 65.3%, 32.7%
CMYK0%, 79%, 52%, 46%
HSV339.6°, 79.0%, 54.1%
LAB31.1, 47.3, 5.8
XYZ11.9, 6.7, 5.8
Decimal9051458

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.99:1
Text on #FFFFFF
AAA
2.34:1
Text on #000000
FAIL
8.60:1
Text on #F8FAFC
AAA
1.99:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #8A1D42; }
.text-color { color: #8A1D42; }
.border-color { border: 2px solid #8A1D42; }

Similar Colors

Brown
#A52A2A