zinc-700
#3f3f46Tailwind CSS v4.3.3 zinc-700 is oklch(37% 0.013 285.805) in OKLCH, the format Tailwind uses, and #3f3f46 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-zinc-700/50.
Text on zinc-700
- Aawhite10.46:1Readable · AA
- Aablack2.01:1Hard to read
- Aazinc-5010.02:1Readable · AA
Most readable text from the zinc scale: zinc-50
Tailwind zinc scale
Step 700 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind zinc-700?
zinc-700 is #3f3f46 in HEX, rgb(63 63 70) in RGB and oklch(37% 0.013 285.805) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind zinc-700 accessible for text?
White text on zinc-700 has a contrast ratio of 10.46:1 and black text 2.01:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use zinc-700 in Tailwind CSS?
Add bg-zinc-700, text-zinc-700 or border-zinc-700 to an element. In your own CSS use var(--color-zinc-700), the CSS variable Tailwind v4 creates for every color.