Auto Luminance Inversion
Dark Mode Helper
Generate dark mode equivalents for your Tailwind light mode colors. Build consistent themes with proper luminance inversion.
Light Mode Colors
Generated Classes
bg-whitedark:bg-slate-950text-slate-900dark:text-slate-100bg-indigo-600dark:bg-indigo-400text-whitedark:text-slate-950Preview
Preview Heading
This is how your colors will look in light mode. The luminance is automatically inverted for optimal readability.
Dark Mode Rules
Shades are inverted: 50 → 950, 100 → 900, etc.
Middle shade (500) stays the same for accent colors
white becomes slate-950black becomes white