The present disclosure relates to a composition for coloring keratin fibers which comprises, in an appropriate dyeing medium, at least one compound chosen from leuco compounds of formula (I), azomethine dyes with a pyrazolinone unit of formula (II), their mesomeric forms, acid addition salts and solvates thereof:and dyeing methods and multicompartment devices for use thereof.