Tailwind Zinc 50

zinc-50 · #FAFAFA · rgb(250, 250, 250)

zinc-50 is a very light white from the Tailwind CSS default palette, hex code #FAFAFA.

HEX#FAFAFA
RGBrgb(250, 250, 250)
HSLhsl(0, 0%, 98%)
CMYKcmyk(0%, 0%, 0%, 2%)
CSS variable (v4)var(--color-zinc-50)
Color nameSnow (closest)

Classes

bg-zinc-50
text-zinc-50
border-zinc-50
ring-zinc-50
from-zinc-50 via-zinc-50 to-zinc-50
bg-zinc-50/50   /* 50% opacity */
White text · 1.04:1 · fails
Black text · 20.12:1 · AAA
text-zinc-500 · 4.63:1 · AA

Check contrast with any color →

Tailwind zinc-50: questions & answers

What is the HEX code of Tailwind zinc-50?

Tailwind zinc-50 is #FAFAFA, which is rgb(250, 250, 250) or hsl(0, 0%, 98%).

How do I use zinc-50 as a background in Tailwind?

Add the class bg-zinc-50 to the element. Use text-zinc-50 for text and border-zinc-50 for borders.

What text color works on bg-zinc-50?

zinc-500 (#71717A) is the closest shade of the same color with readable contrast (4.63:1). Plain black text gives 20.12:1.