Do you use Darktable at all… just look at the sigmoid tone mapper video’s and discussion… I can dig up a recent thread here that introduces the new primaries tools… Perhaps a nuance you likely would or should disable tone curves if using this either in the dcp or in the tone curve sections. You could replicate the smooth preset from DT and see what that gives you…
Also the one colorcast script I think would also work for you…