The colour of salted meat

Cooked pork is white, cooked beef is greyish brown. Salt is white and becomes transparent in solution.

So why are bacon and corned beef and ham pink?

Nitrates and nitrites. They bind with the myoglobin and alter its color properties (and other chemistry of the meat).