Tailwind red-400: questions & answers
What is the HEX code of Tailwind red-400?
Tailwind red-400 is #F87171, which is rgb(248, 113, 113) or hsl(0, 91%, 71%).
How do I use red-400 as a background in Tailwind?
Add the class bg-red-400 to the element. Use text-red-400 for text and border-red-400 for borders.
What text color works on bg-red-400?
red-950 (#450A0A) is the closest shade of the same color with readable contrast (5.84:1). Plain black text gives 7.59:1.