A white ex-regional director for Starbucks has filed a racial discrimination lawsuit claiming she was illegally fired after the wrongful arrests of two black men at one of her stores last year.

Shannon Phillips alleges she was let go from the coffee giant in May 2018 because she objected to the suspension of a white male employee who managed stores in her Philadelphia region other than the location where the arrests took place.

“Weeks after the arrests and surrounding media coverage, (Starbucks) took steps to punish white employees who had not been involved in the arrests but who worked in and around the city of Philadelphia, in an effort to convince the community that it had properly responded to the incident,” the lawsuit filed this week in New Jersey Federal Court claims.

Rashon Nelson and Donte Robinson were cuffed at the Philadelphia location on April 12, 2018, after a restaurant manager called police with claims the two black men were trespassing.

Viral video of the incident sparked national outrage and a wave of protests.

The men were detained for hours and released. Prosecutors said they found no evidence of a crime.

An attorney for the men said they were having a business meeting at the coffee shop and simply were waiting for another person to arrive before ordering.

Starbucks apologized for the incident and said it reached a financial settlement with the men. The company also closed its stores around the country for racial sensitivity training.

“We deny the claims in the suit and are prepared to defend our case in court,” Starbucks spokesman Reggie Borges told the Daily News Thursday.

In her complaint, Phillips says she started working for Starbucks as a district manager in 2005 and was promoted in 2011 to a regional director position overseeing stores in Philadelphia, southern New Jersey, Delaware and parts of Maryland.

Phillips claims she worked “tirelessly” to “repair community relations” after the arrests, but when she was ordered to suspend a Philadelphia-area district manager identified in the filing by the single name Trinsey, she protested.

She claims Trinsey had no responsibility for the store where the arrests took place and that she considered him a valuable employee.

Her superiors allegedly told her “that non-white, salaried managers at Trinsey’s stores had made claims they were paid less than white employees," she claims in the filing.

Phillips says she responded by informing them Trinsey had no input into the compensation paid to salaried employees because Starbucks’ “partner resources” department handles those decisions.

A day after Phillips called the allegation against Trinsey “factually impossible,” she was fired, she claims.

“The only reason given for her pending termination was ‘the situation was not recoverable,’” she states in her lawsuit.