RGB to OKLCH
Paste any RGB color to get an accurate OKLCH value instantly. Copy the converted result, try a random example, or continue with related color tools.
oklch(58.5% 0.212 266)
Tip: Press SPACE to generate a random color
Click a color block to copy to your clipboard.
Similar RGB converters
More color converters
RGB to OKLCH FAQ
Questions about converting RGB values into OKLCH for design and development workflows.
RGB to OKLCH frequently asked questions
How do I convert RGB to OKLCH?
Paste or type a RGB color into the input field and the converter will instantly return the matching OKLCH value. You can then copy the result and use it in your design or development workflow.
When should I use OKLCH over RGB?
OKLCH is a better choice when you need incredibly predictable gradient blending and modern CSS variables. If your current workflow starts in RGB, converting helps you move the same color into the format required by your code, tooling, or platform.
Does this converter preserve my selected color in the URL?
Yes. The current RGB value is synced to the page URL so you can bookmark the conversion, share it with someone else, or come back to the same result later.