Color Converter
Convert HEX, RGB, HSL and OKLCH. Runs in your browser.
- HEX
#ff5c8a - RGB
rgb(255 92 138) - HSL
hsl(343 100% 68%) - OKLCH
oklch(70.1% 0.200 6.6)
How to use
Type a color in any format — like #ff5c8a, rgb(255 92 138), hsl(343 100% 68%) or oklch(…) — or pick one with the color picker.
Every other format updates instantly. Press Copy next to the one you need.
FAQ
Is my data sent anywhere?
No. This tool runs entirely in your browser. Nothing you type, paste or upload is sent to a server or stored anywhere.
What is OKLCH?
OKLCH is a modern CSS color format based on how people perceive lightness, chroma and hue. It makes it easier to build consistent color palettes.
Are HEX and RGB different colors?
No — they are two ways of writing the same color. HEX writes the red, green and blue values (0–255) as two-digit hexadecimal numbers, so #ff5c8a is the same as rgb(255 92 138).