Condom slipped when pulling out

Ni

The condom slipped off when he was pulling out and it was hanging half in half out of me. Pulled it out of me as soon as i noticed (which was like 2 secs after he pulled out) I am on bc but i take it anywhere between 10 and 11 pm. It is a combo pill. Am i safe? Worried about pregnancy. He did cum in it.