The reactions of 4-hydroxy-6-methyl-2-pyrone and 4-hydroxycoumarin with arylidenenitroacetonitriles result in 2-amino-3-nitropyrano[3,2-c]pyrans and 2-amino-3-nitropyrano[3,2-c]chromenes, respectively. The crystal and molecular structure of one of the compounds obtained was determined by X-ray diffraction analysis.