I set gfx.wayland.hdr to true and tried opening this video. It says HDR around the cogwheel, but the colors are washed out. With this option disabled the video looks great.

I tried enabling other options, like native_srgb and compositor as suggested online, but no difference.