Tailwind gray-50: questions & answers
What is the HEX code of Tailwind gray-50?
Tailwind gray-50 is #F9FAFB, which is rgb(249, 250, 251) or hsl(210, 20%, 98%).
How do I use gray-50 as a background in Tailwind?
Add the class bg-gray-50 to the element. Use text-gray-50 for text and border-gray-50 for borders.
What text color works on bg-gray-50?
gray-500 (#6B7280) is the closest shade of the same color with readable contrast (4.63:1). Plain black text gives 20.1:1.