A high school principal from Washington who suggested in a Facebook post that Kobe Bryant deserved to die the day he was killed in a helicopter crash issued an apology on Monday.

Camas High School Principal Liza Sejkora made the remarks in a since-deleted post on Jan. 26 — when Bryant, his daughter Gianna and seven others perished when the Lakers legend’s chopper went down in Calabasas, California.

“Not gonna lie. Seems to me that karma caught up with a rapist today,” Sejkora wrote.

In a written statement Monday, Sejkora called her words “inappropriate and tasteless,” The Columbian newspaper reported Tuesday.

A 19-year-old Colorado hotel employee in 2003 accused Byrant, then 25, of raping her in his hotel room.

The legendary NBA player was arrested for felony sexual assault, but prosecutors later dropped the charges after his accuser declined to testify.

A civil case the woman brought against him was settled out of court in 2005 for an undisclosed amount.

Sejkora said in Monday’s message that she wanted “to apologize for suggesting that a person’s death is deserved. It was inappropriate and tasteless.”

She referred to her comments as “a personal, visceral reaction.”

With Post wires