Preheat the oven to 350°F and set a kettle of water to boil for the water bath.
Combine the sugar and water in a small saucepan over medium heat and cook, swirling the pan occasionally (not stirring), until it turns a deep amber, about 6 to 8 minutes.
Immediately pour the hot caramel into a 9-inch round cake pan or flan mold, tilting it quickly to coat the bottom before it hardens.
Blend the eggs, condensed milk, evaporated milk, coconut milk, vanilla and salt together until smooth, then pour through a fine mesh strainer into the caramel-lined pan to catch any egg strands.
Set the pan inside a larger roasting pan and carefully pour the boiling water into the outer pan until it reaches halfway up the sides of the flan pan.
Bake for 50 to 60 minutes, until the edges are set but the center still jiggles slightly like firm gelatin when nudged.
Lift the flan pan out of the water bath and cool on a rack to room temperature.
Cover and refrigerate for at least 4 hours, or overnight, until completely cold and firm.
To unmold, run a thin knife around the edge, set a serving plate on top, and invert the pan in one confident motion so the caramel sauce pools over the custard.
Scatter toasted coconut flakes over the top and around the base before slicing.
Good to Know
Flan actually improves overnight in the fridge, so make it the day before and unmold it right before guests arrive.