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