Tailwind red-500: questions & answers
What is the HEX code of Tailwind red-500?
Tailwind red-500 is #EF4444, which is rgb(239, 68, 68) or hsl(0, 84%, 60%).
How do I use red-500 as a background in Tailwind?
Add the class bg-red-500 to the element. Use text-red-500 for text and border-red-500 for borders.
What text color works on bg-red-500?
Black text gives the best contrast: 5.58:1.