In recent years, there has been a growing focus on organic dual-state emission (DSE) materials that demonstrate robust luminescence in both solid and solution states. Nevertheless, in the solid state, π-π stacking between organic molecules often results in pronounced luminescence quenching, posing a significant challenge for the design and synthesis of organic DSE materials. In this work, a pyrrolo-pyridine dinitrile (PPDN) dye was synthesized from commercially available 2-heteroaryl acetonitriles and classical diketopyrrolopyrrole (DPP) dye via a two-step process. Due to its special "J"-shaped planar conjugate structure, the PPDN dye has strong DSE performance, high molar extinction coefficients (ε), large Stokes shifts, and excellent optical and thermal stability. It also has aniline vision detection capability, which is useful in the field of security displays and anti-counterfeiting.