A pedestrian was seriously injured Friday afternoon when they were hit by a vehicle that then crashed into a downtown Ottawa building, paramedics say.