#8E0040 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, saturated magenta carries a moody, sophisticated weight. Because of its intense depth, #8e0040 works best as an accent color rather than a primary background, where it can feel heavy. It provides a striking contrast against cream or soft beige tones. The hex code #8e0040 reads clearly with white text, making it a viable choice for high-impact buttons or decorative graphic elements.
Questions about #8e0040
What is #8e0040 in RGB, HSL and CMYK?
In RGB, #8e0040 is rgb(142, 0, 64), in HSL hsl(333, 100%, 28%) and in CMYK 0%, 100%, 55%, 44%.
What colors pair best with #8e0040?
#8e0040 functions effectively alongside neutral tones like cream or soft beige, which allow its deep saturation to stand out without overwhelming the design. For a more dramatic contrast, pairing it with muted charcoal or soft off-whites creates a balanced, sophisticated aesthetic.
Is #8e0040 readable on white or black?
#8e0040 has a 9.44:1 contrast ratio on white and 2.22:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.