A new‐type of donor–acceptor π‐conjugated (D‐π‐A) fluorescentdyes NI3–NI8 with a pyridinering as electron‐withdrawing‐injecting anchoringgroup have been developed and their photovoltaic performances in dye‐sensitized solarcells (DSSCs) are investigated. The short‐circuit photocurrent densities and solar energy‐to‐electricity conversion yields of DSSCs based on NI3–NI8 are greater than those for