Ate pink burger by accident

I was at a bbq today and started eating a burger and then realized it was pink in the middle and now I’m worried. I know it’s really not safe to eat meat that’s undercooked during pregnancy. I didn’t eat very much of it but I’m still worried about my baby