Tailwind Zinc 500

zinc-500 · #71717A · rgb(113, 113, 122)

zinc-500 is a medium gray from the Tailwind CSS default palette, hex code #71717A.

HEX#71717A
RGBrgb(113, 113, 122)
HSLhsl(240, 4%, 46%)
CMYKcmyk(7%, 7%, 0%, 52%)
CSS variable (v4)var(--color-zinc-500)
Color nameSteel (closest)

Classes

bg-zinc-500
text-zinc-500
border-zinc-500
ring-zinc-500
from-zinc-500 via-zinc-500 to-zinc-500
bg-zinc-500/50   /* 50% opacity */
White text · 4.83:1 · AA
Black text · 4.35:1 · AA (large text only)
text-zinc-50 · 4.63:1 · AA

Check contrast with any color →

Tailwind zinc-500: questions & answers

What is the HEX code of Tailwind zinc-500?

Tailwind zinc-500 is #71717A, which is rgb(113, 113, 122) or hsl(240, 4%, 46%).

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

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

What text color works on bg-zinc-500?

zinc-50 (#FAFAFA) is the closest shade of the same color with readable contrast (4.63:1). Plain white text gives 4.83:1.