Convert an OKLCH colour to RGB.
RGB to OKLCH
Convert an RGB colour to OKLCH (lightness, chroma, hue).
- Free
- No sign-up
- Runs in your browser
Input
Fill in Red (0–255) and Green (0–255) and Blue (0–255) to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter red, green and blue.
- 2
The result is the OKLCH value, plus the other formats.
Questions about RGB to OKLCH
Why OKLCH?
OKLab/OKLCH is a modern, perceptually uniform space: changes in lightness and hue look even to the eye, which makes it excellent for generating palettes and gradients. It is now supported directly in CSS.
Is anything sent anywhere?
No. The conversion runs entirely in your browser; the colours never leave the page.
Does the RGB to OKLCH work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the RGB to OKLCH keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the RGB to OKLCH uploaded or stored?
No. The RGB to OKLCH runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the RGB to OKLCH on a phone or tablet?
Yes. The page is responsive, so the RGB to OKLCH works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Convert an RGB colour to CIELAB (L*a*b*, D65).
Convert a hex colour to RGB, with the colour in all common formats.
Convert an RGB colour to a hex code.
Convert a hex colour to HSL (hue, saturation, lightness).
Convert an HSL colour to a hex code.
Convert an RGB colour to HSL.
Convert an HSL colour to RGB.