Zinc phosphate is a chemical compound . Its chemical formula is Zn3 ( PO4 ) 2 . Zinc phosphate ( Zn3 ( PO4 ) 2 ) is an inorganic chemical compound used as a corrosion resistant coating on metal surfaces either as part of an electroplating process or applied as a primer pigment ( see also red lead ) .