Giving birth to three children has changed Jessica Alba's body—and that's totally fine with her.

The actress and Honest Company founder reflected on a changing perspective of her body for InStyle in an essay that published online Tuesday.

"Looking back, when I shot my first InStyle cover (2007), I was insecure," the "L.A.'s Finest" star said. "I felt like I needed to be someone I wasn’t in order to be accepted. I allowed other people’s ideas of who they thought I should be to define me."

"Who am I now?" Alba asked. "I give zero (expletive)."

"I have three children," she added, referencing her kids with husband and producer Cash Warren: Honor, 11, Haven, 7 and Hayes, 1. "They’ve exploded my body, and I’m cool with it," she said laughing. "And I know I’m smart. I don’t care what everybody else thinks. I’m good, girl. I’m good."

More:Jessica Alba permanently honors three kids with a sweet constellation of ink

Alba said after her marriage and the birth of her daughters, she began really embracing womanhood for the first time.

"I was in my early 30s, and it had taken up until then for me to feel confident in my body," she said. "I also stopped allowing myself to be objectified in the press through a male’s perspective. Screw that, man."

"It’s OK to be sexy. It’s OK to wear a short skirt or a loud print if I feel like it because I own it in my own way," she continued. "I can flaunt what I want, cover what I want, and still feel good. My son, Hayes, was just 7 months old when I shot my most recent InStyle cover, last July, and if I had been younger, I probably would have been obsessed with dieting and exercising, but instead I thought, 'This is where I’m at. This is my life. And this is my body.'"

Alba spoke about the impact being in Hollywood can have at May's "In Goop Health" summit in Los Angeles.

Alba talked about how, as a teen, her management team encouraged her not to wear certain jeans because of her “booty” and how “voluptuous" she looked in them, per The Hollywood Reporter and Entertainment Tonight Canada.

"I was meant to feel ashamed if I tempted men," she said, according to the outlets. "Then I stopped eating a lot, when I became an actress. I made myself look more like a boy so I wouldn't get as much attention."

Contributing: Maeve McDermott

READ MORE