Thanks for your query,based on the facts that you have posted it appears that you had bleeding from urethra
when you attempted to pinch your penis while urinating.
This is mostly due to possibility of trivial injury
As it was slight bleeding which stopped of its own you need not worry,
Please drink more water so that your urine is dilute .
Do not worry it will get healed up within 2-3 days.