The invention relates to a temperature stable formulation having a water soluble natural coloring agent, which formulation is a water-in-oil emulsion, in which the coloring agent is contained in the aqueous phase and is stable at an increased temperature, e.g. at at least 72° C. The coloring agent can be thermally instable at the pH of the food, into which the formulation was mixed.