Tailwind Zinc 600

zinc-600 · #52525B · rgb(82, 82, 91)

zinc-600 is a dark gray from the Tailwind CSS default palette, hex code #52525B.

HEX#52525B
RGBrgb(82, 82, 91)
HSLhsl(240, 5%, 34%)
CMYKcmyk(10%, 10%, 0%, 64%)
CSS variable (v4)var(--color-zinc-600)
Color nameObsidian (closest)

Classes

bg-zinc-600
text-zinc-600
border-zinc-600
ring-zinc-600
from-zinc-600 via-zinc-600 to-zinc-600
bg-zinc-600/50   /* 50% opacity */
White text · 7.73:1 · AAA
Black text · 2.72:1 · fails
text-zinc-300 · 5.23:1 · AA

Check contrast with any color →

Tailwind zinc-600: questions & answers

What is the HEX code of Tailwind zinc-600?

Tailwind zinc-600 is #52525B, which is rgb(82, 82, 91) or hsl(240, 5%, 34%).

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

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

What text color works on bg-zinc-600?

zinc-300 (#D4D4D8) is the closest shade of the same color with readable contrast (5.23:1). Plain white text gives 7.73:1.