taupe-400
#aba09cTailwind CSS v4.3.3 taupe-400 is oklch(71.4% 0.014 41.2) in OKLCH, the format Tailwind uses, and #aba09c in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-taupe-400/50.
Text on taupe-400
- Aawhite2.55:1Hard to read
- Aablack8.24:1Readable · AA
- Aataupe-9507.75:1Readable · AA
Most readable text from the taupe scale: taupe-950
Tailwind taupe scale
Step 400 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind taupe-400?
taupe-400 is #aba09c in HEX, rgb(171 160 156) in RGB and oklch(71.4% 0.014 41.2) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind taupe-400 accessible for text?
White text on taupe-400 has a contrast ratio of 2.55:1 and black text 8.24: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 taupe-400 in Tailwind CSS?
Add bg-taupe-400, text-taupe-400 or border-taupe-400 to an element. In your own CSS use var(--color-taupe-400), the CSS variable Tailwind v4 creates for every color.