Tailwind Gray 200

gray-200 · #E5E7EB · rgb(229, 231, 235)

gray-200 is a very light muted azure from the Tailwind CSS default palette, hex code #E5E7EB.

HEX#E5E7EB
RGBrgb(229, 231, 235)
HSLhsl(220, 13%, 91%)
CMYKcmyk(3%, 2%, 0%, 8%)
CSS variable (v4)var(--color-gray-200)
Color namePlatinum (closest)

Classes

bg-gray-200
text-gray-200
border-gray-200
ring-gray-200
from-gray-200 via-gray-200 to-gray-200
bg-gray-200/50   /* 50% opacity */
White text · 1.24:1 · fails
Black text · 16.96:1 · AAA
text-gray-600 · 6.1:1 · AA

Check contrast with any color →

Tailwind gray-200: questions & answers

What is the HEX code of Tailwind gray-200?

Tailwind gray-200 is #E5E7EB, which is rgb(229, 231, 235) or hsl(220, 13%, 91%).

How do I use gray-200 as a background in Tailwind?

Add the class bg-gray-200 to the element. Use text-gray-200 for text and border-gray-200 for borders.

What text color works on bg-gray-200?

gray-600 (#4B5563) is the closest shade of the same color with readable contrast (6.1:1). Plain black text gives 16.96:1.