Actress and liberal activist Debra Messing apologized this week after her Instagram photo of cupcakes decorated as vulvas offended members of the trans community.

The “Will & Grace” star celebrated International Women’s Day on Friday by posting a photo showing a dozen cupcakes decorated as vulvas in varying colors, shapes and sizes.

“Powerful, beautiful, and sweet,” Ms. Messing wrote.

The actress later amended the post after members of the trans community apparently complained.

“I want to apologize to my trans sisters,” Ms. Messing wrote. “This photo was supposed to be light, & sassy. The first thing I thought when I saw this photo was ‘wow how wonderful. Each one is unique in color and shape and size.’

“The porn industry has perpetuated this myth of what a ‘beautiful’ vagina looks like and as a result there are women who feel shame or insecure about the shape of the vulva,” she continued. “I loved that this picture said ‘every single one is beautiful and unique and that’s powerful.’ I did not, however, think ‘but there are innumerable beautiful, unique and powerful women who don’t have a vagina.’ And I SHOULD have. And for that I am so so sorry.

“Thank you for righting my wrong,” she added.