The molecular conformation of the title compound, C20H15Cl2N3O2, is stabilized by an intramolecular O—H...O hydrogen bond, forming an S(6) ring motif. The central pyridine ring is almost planar [maximum deviation = 0.074 (3) Å]. It subtends dihedral angles of 86.10 (15) and 87.17 (14)°, respectively, with the phenyl and dichlorophenyl rings, which are at an angle of 21.28 (15)° to each other. The =C(—OH)CH3 group is coplanar. In the crystal, molecules are linked by intermolecular N—H...N and C—H...N hydrogen bonds, and N—H...π and C—H...π interactions, forming a three-dimensional network. The most important contributions to the crystal packing are from H...H (33.1%), C...H/H...C (22.5%), Cl...H/H...Cl (14.1%), O...H/H...O (11.9%) and N...H/H...N (9.7%) interactions.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.