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

This saturated, high-intensity red commands immediate attention. Because it sits on the darker side of the spectrum, #af040c feels aggressive and urgent rather than lighthearted. It works best as a 10% accent color for calls to action or alert indicators. Use it sparingly, as its intensity can overwhelm a layout. White text provides excellent readability against this shade, ensuring your messaging stays sharp.
Questions about #af040c
What is #af040c in RGB, HSL and CMYK?
In RGB, #af040c is rgb(175, 4, 12), in HSL hsl(357, 96%, 35%) and in CMYK 0%, 98%, 93%, 31%. Browse more shades of red with names and hex codes.
How should I effectively use #af040c in UI design?
Because #af040c commands such strong immediate attention, use it sparingly as a 10% accent color for critical calls to action or error states. It is too visually aggressive for large backgrounds but excels at highlighting urgent UI interactions.
Is #af040c readable on white or black?
#af040c has a 7.38:1 contrast ratio on white and 2.84: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.