help!!

so i'm late by my period 6 days and my boyfriend and i last had sex about a week and a half ago. We used a condom and he pulled out. I've been having crazy bad cramps just like the ones i have on my period, today they have been really bad and i felt something that felt like blood but it was a brownish color .... what does this mean? am i pregnate?