Urinary porphyrins are a group of organic compounds that are intermediates in the biosynthesis of heme, an essential component of hemoglobin, myoglobin, and various cytochromes. These compounds are excreted in urine and can be indicative of various metabolic disorders, particularly porphyrias.