The present invention relates to a composition, especially a cosmetic, in particular photoprotective, composition, comprising at least: —;one or more hydroxyethyl acrylate polymers, —;one or more UV-screening agents, and —;one or more copolymers of acrylamido-2-methylpropanesulfonic acid and of one or more nonionic monomers.