1-ethynylpyrene shows remarkable absorption changes upon DNA hybridization when it is covalently attached to the 8-position of guanine. An absorption band at approximately 420 nm is only present in the duplex, exhibits thermal melting behaviour and provides the basis for a molecular beacon together with 1-ethynylpyrene-modified cytosine.