The reaction of 2,2-dicyanoethenyl- and 1,2,2-tricyanoethenyl-substituted bromoalkanes, bromomethyl benzenes, thiophenes, and furans 19-22 with 3-aminothioacrylamides and their 2-azaanalogues 23 and 24 gives a series of 5-dicyanoethenyl- and 5-tricyanoethenyl-substituted 2-aminothiophenes, 2-aminothiazoles and their (hetero)benzologous analogues 25-32. The solvatochromism, which is a characteristic