Color contrast answer

Does #ec4899 work on #000000?

#ec4899 text on a #000000 background has a contrast ratio of 5.95:1, so it passes WCAG AA 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.