The present invention relates to a porphyrinogen based sensor having selective binding affinity for an explosive chemical. Upon binding of the target molecule, the porphyrinogen derivative undergoes a detectable adsorption and emission of electromagnetic radiation.