Convert between HEX, RGB, HSL, CMYK, and OKLab. Perceptual palettes & color harmonies via chroma.js.
Color Converter lets you translate any color between six popular formats — HEX, RGB, HSL, CMYK, CSS HSL, and OKLab/OKLCH — with a fully interactive color picker and live RGB/HSL sliders. Every change you make in one field instantly propagates to all other formats, eliminating manual calculation errors.
Beyond format conversion the tool generates a perceptual 11-step palette in the OKLCH color space for uniform lightness steps, and computes five color harmony sets (complementary, analogous, triadic, split-complementary, tetradic). All processing runs entirely in your browser — no color data is ever sent to a server.
HSL (Hue, Saturation, Lightness) is a cylindrical remapping of RGB that is intuitive but not perceptually uniform — two colors with the same L value can look very different in brightness to the human eye. OKLCH is a modern perceptual color space where equal steps in lightness, chroma, and hue correspond to equal perceived differences, making it far more reliable for generating accessible palettes and smooth gradients.
This tool converts RGB to CMYK using a standard mathematical formula without ICC color profiles. Professional print software applies device-specific profiles (e.g., SWOP, ISO Coated) that adjust ink densities for a particular printer and paper. The result here is a good approximation for web-to-print work, but final print colors should always be verified in color-managed software.
Yes. Each palette swatch displays a HEX value you can copy and paste into a Tailwind config under theme.extend.colors, or into a CSS file as a custom property (e.g., --brand-500: #5B8CF7;). For modern CSS you can also use the OKLCH output directly in browsers that support CSS Color Level 4.