Miscarriage..?

I started bleeding lightly ( a pinkish color/ not normal) then the next day it got heavy with terrible cramps and back pain and then this came out..was it a miscarriage?