A system and method is provided for generating a tone mapping function to reduce dynamic range of a first image to produce a second image. A luma signal and a plurality of chroma components are determined and a gamut color correction is then performed. An adaptive function is generated by comparing the luma signal and at least one chroma component of the first and second image.