OKLCH.xyz

OKLCH to RGB Converter

Turn any oklch() value into a gamut-safe rgb() color.

RGB
rgb(0% 0% 0%)
OKLCHoklch(0 0 0)
OKLABoklab(0% 0 0)
HEX#000000
HSLhsl(none 0% 0%)
LABlab(0 0 0)
LCHlch(0 0 none)
Display P3color(display-p3 0 0 0)
sRGBIn gamutP3In gamutRec.2020In gamut

Safe sRGB output

Wide-gamut OKLCH inputs are mapped into sRGB before being shown as rgb(), so the result is always displayable, with hue and lightness preserved.

Related tools