End of period

Why do we get like brown discharge like the 2 last days of our period like the first 5 days it's red but the last 2 days it's brown is it normal ?