Are these worms in my black eyed peas/beans?
To take one concern away - practically none of the worm-looking parasites in food are dangerous. They are yucky, but harmless, even nutritious. 

But as far as I can see it from the picture, these are not worms at all. Beans and related plants have an embryo in their seeds. In white legumes, the embryo is a light pink color and looks indeed like a larva. The way to check is to look at the still-intact beans. They are all made up of two symmetrical halves inside. Cut them open through the plane which separates the two halves. If they have your suspect at the concave part of the bean, where it used to attach to the pod, then this is the embryo, just a normal part of the seed which is supposed to grow into a new plant when planted. 

If the embryo of multiple beans looks differently from that (or is too small to notice), then these may be larvae after all. In this case, you will probably choose to discard the food because of the disgust factor. It is still not objectively unsafe.