If it is red, it should be a hamstring tendon strain. It is necessary to adjust the intensity of exercise, correct bad posture and rest for a few days to relieve symptoms.
If it is cyan, I really don't know what is going on. Did you accidentally hit something? People often don't notice the pain just after the collision. Anyway, don't scare yourself. It is helpful to keep a cheerful attitude.