#8A0F42 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #8a0f42 graphic
#8a0f42 is a deep, moody magenta that leans into dark, warm tones. This shade carries a serious, mysterious weight, making it effective for high-contrast branding or sophisticated cosmetic packaging. While bold, it works best as an accent rather than a dominant background color. Because it maintains a high 9.4:1 contrast ratio with white, it remains readable when used for small, crisp typography or sharp interface details.

Questions about #8a0f42

What is #8a0f42 in RGB, HSL and CMYK?
In RGB, #8a0f42 is rgb(138, 15, 66), in HSL hsl(335, 80%, 30%) and in CMYK 0%, 89%, 52%, 46%. Browse more shades of pink with names and hex codes.
How can I effectively use #8a0f42 in web design?
#8a0f42 works best as a high-impact accent color for buttons, call-to-action elements, or specific UI details that require immediate attention. Because it holds a strong 9.4:1 contrast ratio against white, it remains perfectly readable for small text or icons.
Does #8a0f42 lean warm or cool?
#8a0f42 leans into warm, dark tones, giving it a rich and slightly mysterious character compared to brighter, cooler magentas. Its warmth makes it feel grounding, preventing it from appearing too neon or artificial in professional, high-end packaging designs.
Is #8a0f42 readable on white or black?
#8a0f42 has a 9.42: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.