#171516 Hex Color

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

Hex color #171516 graphic
This near-black grey provides a sophisticated, grounded base for modern UI. Because white text maintains an 18.2:1 contrast ratio against the hex code #171516, it is an ideal selection for dark mode interfaces and small, readable typography. It lacks the harshness of pure black, making it a stable, neutral choice for moody designs that require depth without visual aggression.

Questions about #171516

What is #171516 in RGB, HSL and CMYK?
In RGB, #171516 is rgb(23, 21, 22), in HSL hsl(330, 5%, 9%) and in CMYK 0%, 9%, 4%, 91%. Browse more shades of black with names and hex codes.
Is #171516 better than pure black for web design?
#171516 is widely preferred over absolute black because it reduces eye strain and provides a softer, more natural look on screen. It maintains high contrast with text while avoiding the harshness that can sometimes make pure black appear flat or jarring.
Which colors pair well with #171516 for a balanced palette?
This near-black grey acts as a versatile neutral that pairs perfectly with cool slate or warm cream accents to create visual hierarchy. Using it alongside lighter, desaturated tones helps anchor the design without overpowering the content elements.
Is #171516 readable on white or black?
#171516 has a 18.17:1 contrast ratio on white and 1.15: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.