Republicans have ripped Rep. Alexandria Ocasio-Cortez for calling the Electoral College a racist “scam” that favors mostly white and rural states at the expense of those with large minority populations.

The 29-year-old freshman lawmaker wants to eliminate the current system in favor of electing the president through a popular vote, which would shift power to more populated states, such as Ocasio-Cortez’s New York.

Midwestern states like Michigan and Wisconsin — now much-sought-after swing states — and smaller states such as Iowa would have less of an impact on elections, as Iowa GOP Sen. Joni Ernst pointed out, Fox News reported.

“Actually @AOC, eliminating the Electoral College would silence our voices here in Iowa and in many other states across the country,” the Republican senator tweeted on Wednesday.

“This is just more evidence of how out of touch the Democrats have become.”

Ex-Arkansas Gov. Mike Huckabee said that Ocasio-Cortez’s statements were evidence that she never took a civics class, telling the cable network the “Electoral College is good for Dems and GOP.”

AOC joined several Democratic presidential candidates — including Massachusetts Sen. Elizabeth Warren and South Bend, Indiana, Mayor Pete Buttigieg — in calling for the popular vote to decide who wins presidential elections.

Democrats have grown increasingly critical of the Electoral College after President Trump won the White House even though Hillary Clinton captured nearly 2.9 million more votes than he did.

An Instagram story posted to Ocasio-Cortez’s account Monday shows her driving on an empty highway in what appears to be a desert while joking about how “many votes” there were in the barren landscape.

“Very efficient way to choose leadership of the country. I mean I can’t think of any other way, can you?” Ocasio-Cortez said in the clip, which is no longer available because Instagram stories disappear after 24 hours.

“Due to severe racial disparities in certain states, the Electoral College effectively weighs white voters over voters of color, as opposed to a ‘one person, one vote’ system where all our votes are counted equally,” she said.

Meanwhile, a number of states want to change their laws to ensure that all of their electors vote for the winner of the popular vote.

And a federal appeals court in Denver ruled Tuesday that Electoral College members can vote for the presidential candidate of their choice and aren’t bound by the popular vote in their states.