Design Drifter

Find a tool

All Tools

Color Converter

Convert colors between HEX, RGB, HSL and more.

Design

RGB

HSL

HSV

OKLCH

About

Convert a color between HEX, RGB, HSL, HSV and OKLCH, entirely in your browser.

Translate any color across modern CSS and design formats without guesswork. Paste a HEX, RGB, HSL, HSV, or OKLCH value—or pick visually with sliders and the color picker—and copy clean formatted values for CSS or design tokens.

What you can do

  • Converts bidirectionally among HEX, RGB, HSL, HSV, and modern OKLCH values.
  • Includes interactive channel sliders and a native browser color picker.
  • Provides live color previews and one-click copy for each format.

Common uses

  • Migrate legacy HEX or RGB brand palettes into modern CSS OKLCH tokens.
  • Fine-tune lightness, chroma, or saturation while keeping consistent hues.
  • Grab matching color codes across Figma, Tailwind CSS, and native apps.

Frequently asked questions

Why use OKLCH alongside HEX and HSL?

OKLCH is perceptually uniform, meaning adjustments to lightness and chroma feel consistent to the human eye across different hues, which is ideal for design systems.

What color input formats are recognized?

You can type or paste standard HEX codes (3 or 6 digits), rgb(), hsl(), hsv(), or oklch() strings, or pick a color directly.

Related Tools