zinc-200
#e4e4e7Tailwind CSS v4.3.3 zinc-200 is oklch(92% 0.004 286.32) in OKLCH, the format Tailwind uses, and #e4e4e7 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-zinc-200/50.
Text on zinc-200
- Aawhite1.27:1Hard to read
- Aablack16.56:1Readable · AA
- Aazinc-95015.69:1Readable · AA
Most readable text from the zinc scale: zinc-950
Tailwind zinc scale
Step 200 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind zinc-200?
zinc-200 is #e4e4e7 in HEX, rgb(228 228 231) in RGB and oklch(92% 0.004 286.32) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind zinc-200 accessible for text?
White text on zinc-200 has a contrast ratio of 1.27:1 and black text 16.56:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so black text is the better choice here.
How do I use zinc-200 in Tailwind CSS?
Add bg-zinc-200, text-zinc-200 or border-zinc-200 to an element. In your own CSS use var(--color-zinc-200), the CSS variable Tailwind v4 creates for every color.