The best way to deal with highlights is to preserve them when shooting – that is, avoid blowing them out, by reducing in-camera exposure. Exposure then can be restored in darktable – in fact, the exposure module has an option to do that automatically (I took this screenshot using a photo I took in manual mode, so there was no exposure compensation dialled in the camera, but you get the idea):
The reconstruct option in filmic is somewhat of a misnomer, as the primary purpose was to soften the transition between what you set as white (white relative exposure on the scene tab) and the surroundings. It is not there to fix raw clipping: filmic has no idea what raw pixels were clipped, it’s close to the end of the pipeline.
In your photo, turning off all curves (incl. filmic) and dropping exposure shows the magenta is there; it’s not added by filmic, but it may be emphasised by it, depending on the settings:
Turning off highlight reconstruction (the module, not the option in filmic) shows what we start from:
Turning on the raw clipping indicator also confirms the severe clipping; you have lost a lot of information, and can only try to cover up that fact. Restoring lost information is impossible.
Turning on the candidating mask shows which areas get some colour propagated from the surrounding area:
With the default value of 40, only a bit of the blue channel is propagated:
Read about the meaning of the masks and settings, as explained one of the developers here: Nice waterfall, shame about the vegetation blown highlights - #22 by hannoschwalm
But there is not much you can do:
Side-by-side with the default inpaint opposed:
exposure raised back, filmic back on (v7 with the defaults, only auto-picked the black and white exposures):
With my default filmic style (includes diffuse or sharpen and local contrast, too): filmic v7, but with contrast in highlights/shadows set to safe for a gentler curve:
Left: default filmic v7, right: as described above:
Bringing down the highlights a bit in tone equalizer, then dropping highlights saturation mix in filmic:
DSC04603.ARW.xmp (15.2 KB)
The sidecar is from darktable master branch (development version).