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

This near-black grey provides a professional, sophisticated foundation for modern dark-mode interfaces. With its dim, dusty character, it avoids the harshness of pure black while maintaining strong contrast for white typography. The hex code #181c1f works best as a primary background, offering stability without feeling flat. It pairs effectively with muted pastels or bright, saturated accents for a balanced, high-end aesthetic.
Questions about #181c1f
What is #181c1f in RGB, HSL and CMYK?
In RGB, #181c1f is rgb(24, 28, 31), in HSL hsl(206, 13%, 11%) and in CMYK 23%, 10%, 0%, 88%. Browse more shades of black with names and hex codes.
Why is #181c1f better for backgrounds than pure black?
#181c1f provides a softer, more dimensional appearance by avoiding the harsh, flat look of absolute black. This near-black grey reduces eye strain in dark-mode interfaces while maintaining the necessary contrast to make white or light-toned typography stand out clearly.
What colors pair well with the #181c1f shade?
#181c1f functions as a neutral base that elevates vibrant accents, such as a bright blue or warm orange for buttons and highlights. You can also pair it with soft, muted pastels to create a high-end, balanced aesthetic without overwhelming the viewer.
Is #181c1f readable on white or black?
#181c1f has a 17.14:1 contrast ratio on white and 1.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.