#1F170F Hex Color

A moody, grounded, and deep near-black brown

Hex color #1f170f graphic
This near-black brown carries a dusty, muted quality that feels grounded and somber. Because it is so dark, the hex code #1f170f works best as a moody background or a heavy structural element. Pair it with soft cream or muted gold to cut the intensity. White text reads clearly against this shade, making it a functional choice for high-contrast dark mode interfaces.

Questions about #1f170f

What is #1f170f in RGB, HSL and CMYK?
In RGB, #1f170f is rgb(31, 23, 15), in HSL hsl(30, 35%, 9%) and in CMYK 0%, 26%, 52%, 88%. Browse more shades of black with names and hex codes.
How should I use #1f170f in a design?
Use #1f170f as a sophisticated alternative to pure black for backgrounds, borders, or text. It carries a warmer, more organic feel than standard charcoal, which makes it effective for branding that demands a professional yet approachable, grounded aesthetic.
Is #1f170f readable on white or black?
#1f170f has a 17.68:1 contrast ratio on white and 1.18: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.