Color Code Converter

Convert colors between HEX, RGB, HSL, CMYK, and LCH formats.

Color Code Converter

Convert, inspect, compare, and export accessible colors in modern CSS formats.

Color Input

Converted Formats

HEX
RGB
HSL
HSV
HWB
CMYK
LAB
LCH
OKLCH
OKLAB
XYZ
Named

Color converter features

  • HEX, RGB(A), HSL(A), HSV, HWB, CMYK, LAB, LCH, OKLCH, OKLAB, XYZ, and named colors
  • Alpha, native picker, random colors, and EyeDropper support
  • Live format outputs with copyable CSS, JSON, and Tailwind exports
  • History, deep links, batch conversion, CSV download, palettes, and harmonies
  • WCAG contrast ratios with AA and AAA checks
  • Runs locally in the browser with no account or upload

Color converter FAQ

Can I convert HEX to RGB and OKLCH?

Yes. Enter a supported color value and the converter shows HEX, RGB, HSL, OKLCH, and other representations together.

Does it check WCAG contrast?

Yes. The contrast panel compares foreground and background colors and reports WCAG AA and AAA results for normal and large text.

Infinio Tools
© 2026 Infinio Labs