Shrimp undergo a fascinating transformation from their original color to pink or red when heated. This change happens because heat causes the protein shell that encases the pigment in shrimp to break down. Once this shell is gone, the natural pink and red pigments, known as astaxanthin, become visible. Astaxanthin is actually always present in shrimp, but it's hidden by the protein shell until cooking reveals its vibrant color.