A method of dyeing keratin-containing fibers, especially human hair, which comprises using dyes of formula (1), wherein X− is an anion.