Color contrast answer
Does #ec4899 work on #ffffff?
#ec4899 text on a #ffffff background has a contrast ratio of 3.53:1, so it passes WCAG AA for large text and UI graphics, but fails normal text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.