You may have had an infection that caused the blood to be brown.
The possibility of pregnancy
depends on your age & last sexual contact. If that had been a miscarriage
I'm sure the pain would have been very obviously not menstrual cramps(speaking as someone who has went through that experience), but if pregnancy was a possibility meybe its better to get that checked out..?