#0C0312 Hex Color

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

Hex color #0c0312 graphic
#0c0312, a hex code just shy of pure black, carries a faint purple undertone. It reads somber and secretive, so it suits luxury branding, editorial layouts, and dark mode backgrounds. Pair it with muted gold or burnt orange accents to keep it from going flat. White text reaches about 20.2:1 contrast, so small body copy stays readable.

Questions about #0c0312

What is #0c0312 in RGB, HSL and CMYK?
In RGB, #0c0312 is rgb(12, 3, 18), in HSL hsl(276, 71%, 4%) and in CMYK 33%, 83%, 0%, 93%. Browse more shades of black with names and hex codes.
What colors pair well with #0c0312?
Muted gold, burnt orange, and dusty rose bring warmth to #0c0312 without breaking its somber mood. Cool silvers also work, though they can feel cold against such a dark base.
Is #0c0312 readable on white or black?
#0c0312 has a 20.24:1 contrast ratio on white and 1.03: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.