Mila Kunis just revealed that her career was threatened after she refused to pose naked to promote one of her films.

The 33-year-old actress opened up about sexism and gender bias in Hollywood in a powerful essay posted to husband Ashton Kutcher's website — sharing her experience with a producer who wanted her to pose semi-nude for a men's magazine.

MORE: Ashton Kutcher Confirms He and Mila Kunis Are Having a Baby Boy!

"I was no longer willing to subject myself to a naïve compromise that I had previously been willing to. 'I will never work in this town again?' I was livid, I felt objectified, and for the first time in my career I said 'no.' And guess what? The world didn't end," she wrote.

"The film made a lot of money and I did work in this town again, and again, and again. What this producer may never realize is that he spoke aloud the exact fear every woman feels when confronted with gender bias in the workplace."

mila kunis ashton kutcher getty

The mother-of-one, who is expecting her second child, also shared that she started her own production company to shine light on the issue.

MORE: See the Cast of 'That '70s Show' on Their First Red Carpet vs. Now!

"I'm done compromising; even more so, I'm done with being compromised. So from this point forward, when I am confronted with one of these comments, subtle or overt, I will address them head on; I will stop in the moment and do my best to educate," she added. "I cannot guarantee that my objections will be taken to heart, but at least now I am part of creating an environment where there is the opportunity for growth. And if my comments fall on deaf ears, I will choose to walk away."

We couldn't have said it better ourselves! Click through the gallery below for a look at Mila and Ashton's cutest moments.