The present invention relates to a cosmetic composition having UV-A and/or UV-B protection comprising at least one inorganic UV filter, and surface-reacted calcium carbonate having a volume median particle size d50 from 0.1 to 90 μm, wherein the surface-reacted calcium carbonate is a reaction product of natural ground calcium carbonate or precipitated calcium carbonate with carbon dioxide and one or more H3O+ ion donors, wherein the carbon dioxide is formed in situ by the H3O+ ion donors treatment and/or is supplied from an external source.