YD2 is a porphyrin sensitizer. YD2 is a useful material for making solar cell. Cosensitization of YD2-o-C8 with another organic dye enhances the performance of the device, leading to a measured power conversion efficiency of 12.3% under simulated air mass