The reaction of 4-substituted aryldiazenyl-1 H-pyrazole-3,5-diamines with 7,7′,8,8′-tetra-cyanoquinodimethane gave 2-(2′,7′-diamino-6′-cyano-3′-(aryldiazenyl)-4′ H-spiro(cyclohexa[2,5]-diene-1,5′-pyrazolo[1,5- a]pyrimidine-4-ylidene) malononitriles in 63–79% yield, while, by reaction of 2-aminobenzimidazole with 7,7′,8,8′-tetracyanoquinodimethane, 2-(3′-amino-4′-cyano-6′ H-spiro-(cyclohexa[2′,5′]diene-1,5′-benzo( d)-imidazo[1,2- a]pyrimidine)-4-ylidene)malononitrile was formed in 71% yield. Rationales for these transformations are presented.