...Good point, TDF. Some bacteria are good for us, and even tasty.
I think the pink is from the salt...
Otherwise, the cabbage would turn brown. The salt acts as a preservative, but the acidity could be reacting to the juices in the cabbage, turning them pink... 
Similar chemical reactions also have something to do with why red cabbage is red.