What is the red liquid that comes out of a butterfly's abdomen after emergence?

What is the red liquid that comes out of a butterfly's abdomen after emergence?

The red material that comes out of the abdomen after the butterfly's emergence is metabolic waste material left over from metamorphosis. The material is not responsible for the wing colors, which are caused by scales and chemical pigments.