FFmpeg match hex color exactly
Solution 1:
You need to convert to matrix using -vf scale=out_color_matrix=bt709 and tag output using -colorspace 1. I also recommend tagging -color_range tv (that is what scale defaults to), tagging -color_trc iec61966_2_1 and tagging -color_primaries to bt709.