The pedestrian was taken to Aberdeen Royal Infirmary.