A description of the problem and how to address it is here: https://docs.microsoft.com/en-us/windows/win32/direct3darticles/high-dynamic-range#correctly-render-sdr-content-with-sdr-reference-white-level