Gina Rodriguez has come under fire after a controversial karaoke session.

The "Jane the Virgin" star posted a video of herself getting her hair and makeup done to her Instagram story Tuesday. In the now-deleted video, Rodriguez says the N-word while rapping along to the song "Ready or Not" by the hip-hop group the Fugees.

Her post prompted backlash on Twitter, with many criticizing the 35-year-old for her casual use of the slur.

Rodriguez apologized later for "thoughtlessly" singing along to the song.

“The word I sang, carries with it a legacy of hurt and pain that I cannot even imagine," Rodriguez wrote in a statement to USA TODAY. "Whatever consequences I face for my actions today, none will be more hurtful than the personal remorse I feel. Watching my own video playing back at me, has shaken me to my core. It is humiliating that this has to be a public lesson but it is indeed a much deserved lesson. I feel so deeply protective and responsible to the community of color but I have let this community down. I have some serious learning and growing to do and I am so deeply sorry for the pain I have caused.”

Rodriguez also returned to her Instagram story to apologize in the hours after the original post.

"Hey, what's up everybody. I just wanted to reach out and apologize" she said. "I am sorry. I am sorry if I offended anyone by singing along to The Fugees, to a song I love, that I grew up on. I love Lauryn Hill, and I really am sorry if I offended you."

By the time Rodriguez had posted her apology, however, many had already taken to Twitter to slam the actress.

"gina rodriguez when her pr team calls her to tell her she posted the story on her main and not her finsta," one user wrote, along with a clip of the actress sobbing in her role as Jane Villanueva.

More:How Gina Rodriguez is crushing Hollywood: ‘I’m ready to not sleep'

"GINA RODRIGUEZ SAID THE N WORD ON HER INSTAGRAM LIVE WE GETTING HER OUT OF HERE," wrote another.

"gina rodriguez is about to pull this again after she sees we all called her anti black for saying the n word," another user wrote.

More:Gina Rodriguez says an emotional goodbye to 'Jane the Virgin': 'I will always love you'

"Can cancel culture come through for once and get Gina Rodriguez outta here," wrote another.

USA TODAY has reached out to Rodriguez's rep for comment.

Rodriguez previously stirred backlash for comments she made about pay disparity during a 2018 Porter roundtable. Rodriguez said Latina women make less money than African American women and Asian American women.

When asked about these remarks in an interview on "Sway's Universe," Rodriguez fought back tears as she clarified her words.

"What I was saying was that when we talk about equal pay, we have to talk about intersectionality, because we all must rise," she said. "The backlash was devastating to say the least because … the black community was the only community I looked towards. Growing up, we didn't have many Latino shows, and the black community made me feel like I was seen.

"So to get 'anti-black' is saying that I'm anti-family. My father is dark-skinned, he's Afro-Latino, and my cousins are, and Puerto Ricans are African, Taíno and Spaniard, and it's in my blood. So that was really devastating to me."

She added: "I know my heart. I know what I meant, and I really wish that we weren't living in a culture where we're clickbait, because I have never said anything controversial about anybody and far would I ever, because, if anything, the black community is my community."

See our full coverage of entertainment news

More:Gina Rodriguez is married! See her emotional wedding video with groom Joe LoCicero