#511F28 Hex Color

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

Hex color #511f28 graphic
This desaturated, dark red feels serious and moody with a dusty undertone. Because it is quite dim, the hex code #511f28 works best as a bold accent or a grounded, heavy element in a UI design. It pairs nicely with light cream or soft gold to create a luxurious, formal atmosphere. White text remains highly readable over this shade, making it a reliable choice for dark mode layouts.

Questions about #511f28

What is #511f28 in RGB, HSL and CMYK?
In RGB, #511f28 is rgb(81, 31, 40), in HSL hsl(349, 45%, 22%) and in CMYK 0%, 62%, 51%, 68%.
What colors pair well with #511f28?
This desaturated shade shines when paired with cream or soft gold accents to evoke a sense of formal luxury. Because the red is so grounded and dim, it effectively anchors lighter, brighter colors without overwhelming the overall layout of your interface.
How should I use #511f28 in UI design?
The #511f28 hex color functions best as a bold, heavy accent or a background element in dark mode layouts. It maintains high legibility for white text, making it a reliable choice for buttons or headers that need a serious, professional aesthetic.
Is #511f28 readable on white or black?
#511f28 has a 13.32:1 contrast ratio on white and 1.57: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.