piko

Hex to OKLCH

Convert a three- or six-digit hex color into CSS OKLCH.

Runs on your device. Nothing you add is uploaded.

#FF5A1F
CSS color
oklch(68.235% 0.21076 37.698)

How to use Hex to OKLCH

  1. Choose a color or replace the example.
  2. Adjust the available settings and review the swatches.
  3. Copy the result you need.

Questions

They represent perceived lightness, chroma (color intensity), and hue angle.

How this works

Converts sRGB to linear light, then uses the OKLab matrix and polar coordinates.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy