Color Converters
Convert between HEX, RGB, HSL, HSV, HWB, LCH, OKLCH, CMYK, and RGBA formats with focused browser tools.
Converter Matrix
HEX to RGB
converterBreak a HEX code into red, green, and blue channels.
RGB to HEX
converterTurn rgb() values into a compact HEX code.
HEX to HWB
converterRead a HEX color as hue, whiteness, and blackness.
HWB to HEX
converterConvert modern HWB CSS colors back to HEX.
HEX to LCH
converterInspect HEX colors by perceptual lightness, chroma, and hue.
LCH to HEX
converterExport LCH values as sRGB HEX fallbacks.
HEX to OKLCH
converterConvert HEX into OKLCH for modern CSS palette work.
OKLCH to HEX
converterConvert OKLCH values into practical HEX output.
RGB to OKLCH
converterMove RGB channel values into a perceptual color space.
OKLCH to RGB
converterTranslate OKLCH values into rgb() output.
HEX to CMYK
printConvert screen colors into print-oriented CMYK percentages.
CMYK to HEX
printConvert print values back into a web color code.
Pick by Task
Start with HEX
Use these when a design file, brand guide, or website inspector gives you a HEX value.
Start with perceptual color
Convert LCH and OKLCH values back to older sRGB formats for handoff and fallbacks.
Common Use Cases
Design tokens
Document the same color in formats used by CSS, design files, and token pipelines.
Browser fallbacks
Convert modern color functions into HEX or RGB when older environments need a fallback.
Palette review
Compare perceptual lightness and hue before promoting colors into a shared system.
Print handoff
Bridge web RGB and HEX values with approximate CMYK numbers for vendor discussions.
Reference Pages
FAQ
Which color converter should I use first? v
Start with the format you already have. If you are building a modern CSS palette, convert HEX or RGB into OKLCH. If you need broad compatibility, convert back to HEX or RGB.
Are LCH and OKLCH the same? v
No. Both are perceptual formats, but OKLCH is based on Oklab and is often preferred for modern CSS palette tuning because its lightness behavior is more predictable.
Do converter pages upload my color values? v
No. These converters run in the browser and only operate on the values typed into the page.
Related Color Tools
Open the next tool for this color task.
Hex to RGB Converter - Free Online Tool
converterTurn HEX colors into RGB values for CSS and design tools.
RGB to Hex Converter - Free Online Tool
converterConvert RGB or RGBA input into a compact HEX code.
HEX to OKLCH Converter
converterConvert HEX colors into OKLCH values.
HWB to HEX Converter
converterConvert HWB color values into HEX output.