Shrimp changes from a light greyish pink to a light pink color when cooking because of the antioxidant astaxanthin. Astaxanthin is a carotenoid that when heated, is released from its cells and turns the shrimp from grey to pink. Lobster and crab also contain this carotenoid.