Embodiments relate to the field of chemistry and biochemistry, and, more specifically, to novel near-infrared dyes that are photostable and resistant to quenching. The dyes belong to a novel family of squaraine rotaxanes, and they are particularly well-suited for use in biological applications. Also disclosed are methods of synthesizing the dyes and methods of using the dyes.