Color Converter

Convert between HEX, RGB, HSL, and OKLCH color formats. Live preview.

Accepts HEX, RGB, HSL, and OKLCH

Your files never leave your device
How it works

Three steps to done

1Drop your file

Drag and drop or click to browse

2Processed locally

Runs in your browser, nothing uploaded

3Download result

Get your file instantly

Use cases

When to use this

Design tokens

Convert brand colors to every format used across design tools, CSS, and native apps.

CSS color functions

Get OKLCH values ready to paste into modern CSS for perceptually uniform palettes.

Cross-tool compatibility

Quickly translate colors between Figma (HEX), Tailwind (HSL), and browser DevTools (RGB).

Color format converter: HEX, RGB, HSL, OKLCH

Type or paste any color value and see it converted to all other formats instantly. Accepts HEX codes like #ff6600, RGB values like rgb(255, 102, 0), HSL like hsl(24, 100%, 50%), and modern OKLCH like oklch(0.7 0.15 50).

OKLCH support is included because it is increasingly used in modern CSS design systems. Unlike HSL, OKLCH is perceptually uniform, meaning a 10-unit lightness step always looks the same regardless of hue. This makes it better for programmatic palette generation.

Each result has a one-click copy button. All conversions run entirely in your browser with no server calls.

Frequently Asked Questions

More tools

Related tools

All tools

3 free uses left today

Unlimited with Pro

Go Pro — $4.99/mo