Better color ramps, grounded in human perception.
OKLCH / HCL → Tailwind-style color ramps + Figma Variables
If this saved you time, buy me a coffee ☕
By default, this tool uses OKLCH, a modern percepually uniform color space that fixes hue-shifts found in other models.
You can toggle Use HCL to switch to the standard CIELab (Lch) model if you prefer standard industry perception over the new Oklab standard.
Shift+N.This tool is designed for Tailwind. The export format uses native CSS variables.
/* Copy to your CSS */
@theme {
--color-primary-500: oklch(0.6 0.15 250);
}
Tailwind v4 will automatically pick these up as utility classes like bg-primary-500.