The subject of the present invention is symmetric or dissymetric azomethine direct dyes comprising at least one pyrazolopyridine unit of formula (I), a composition comprising said dyes, a process for treating keratin fibers using said dyes, a process for preparing these compounds, synthesis intermediates and a kit. In which formula (I) X, Y1, Y2, Z1, and R1 to R5 are as defined in the description.