That incident marked Aberdeen's seventh sending-off already this season, but it had the effect of jolting the game back to life and Langfield was tested by both Craig Conway and Jon Daly.
Conway's free-kick found the unmarked Jon Daly in the fourth minute, but the striker could not get the ball under control as it trickled back to Hearts goalkeeper Jamie MacDonald.