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

For dark mode UI and moody layouts, #031212 works as a near-black base with a faint sooty cyan undertone. The hex code sits so low in lightness that white text on it reaches about 19.1:1 contrast, well past WCAG AA for small body text. Pair it with warm amber or soft teal accents so large surfaces don’t read flat.
Questions about #031212
What is #031212 in RGB, HSL and CMYK?
In RGB, #031212 is rgb(3, 18, 18), in HSL hsl(180, 71%, 4%) and in CMYK 83%, 0%, 0%, 93%.
What text color works best on a #031212 background?
White text reads most clearly on #031212, with a contrast ratio near 19.1:1. That clears the WCAG AA requirement of 4.5:1 with plenty of room, which makes it a reliable dark mode background.
What colors pair well with #031212?
Muted teal and soft coral lift #031212 without breaking its somber mood. A small amber accent also works well against its sooty cyan base, giving dark layouts a clear focal point.
Is #031212 readable on white or black?
#031212 has a 19.10:1 contrast ratio on white and 1.09: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.