The porphyrin ring in the hemoglobin molecule is composed of four pyrrole moieties linked together around the central iron ion.