Kelly Osbourne apologised for remarks she made on television that suggested if Latinos were expelled from the United States, there would be no-one to clean Donald Trump's toilets.

Osbourne's comment while a guest host on the US show The View was directed at the Republican presidential candidate, whose claim that Mexican immigrants were "criminals" and "rapists" have drawn condemnation but have also given him a lead in early polls.

"If you kicked every Latino out of this country then who is going to be cleaning your toilets, Donald Trump?" Osbourne asked of the billionaire, who was not on the show at the time.

As she tried to continue, she was quickly interrupted by co-host Rosie Perez and backed off her comment but was later forced to issue an apology online after it received heavy criticism.

The remark saw some Twitter users sending Osbourne stories about their education, white-collar jobs and rise from poverty. Many of the testimonials were tagged with the phrase "QueridaKellyOsbourne", which translates as "Dear Kelly Osbourne".

Osbourne, the daughter of rocker Ozzy Osbourne, and former X Factor judge Sharon, wrote that she is not racist but was taking responsibility for "my poor choice of words".

She said: "I've learned a very valuable lesson. It is my hope that this situation will open up a conversation about immigration and the Latin community as a whole."

She ended by stating she cleans her own toilets.