Color contrast answer

Does #d1d5db work on #000000?

#d1d5db text on a #000000 background has a contrast ratio of 14.25:1, so it passes WCAG AAA for normal text.

Sample text

Readable UI preview

Reversed pair

Check both directions in Blobb.

Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.