Aberdeen are to appeal the red card shown to Jamie Langfield in Saturday's 2-0 defeat by Kilmarnock at Pittodrie.