Former German goalkeeper Jens Lehmann has lost his position with Bundesliga club Hertha Berlin.
Lehmann, who played 12 times for his country, was serving as a member of the club's supervisory board.
He worked on behalf of the club's investor group Tennor.
A WhatsApp message Lehmann sent to former Germany international Dennis Aogo was published by Aogo, where Lehmann called him a "token black person."
Aogo serves as a pundit for Sky Germany, and Lehmann admitted to sending the message.
He has since apologised, and wrote on Twitter: "A private message sent from my phone to Dennis Aogo gave off an impression, for which I have apologised in conversation with Dennis. As a former Germany international, he is very knowledgeable, has a great presence and brings in ratings for Sky."
"The consultancy contract with Mr. Lehmann will be terminated. This means that the posting to Hertha's supervisory board is no longer applicable," Tennor Holding spokesman Andreas Fritzenkötter told Sky in Germany.
"Such statements in no way correspond to the values for which Hertha BSC stands and actively campaigns. Hertha BSC distances itself from any form of racism. We therefore welcome the step taken by Tennor Holding," Hertha President Werner Gegenbauer told Sky in Germany.
A statement from Sky Germany said: "Dennis Aogo is a highly esteemed colleague and an excellent pundit, and we are glad to have him in our team.
"We at Sky condemn any form of racism and give no space or platform to racism.
"We have often had Jens Lehmann as a guest on our programme and are very disappointed by his behaviour. We do not plan to invite him back onto our broadcasts again."