A bakery was left embarrassed after accidentally creating an X-rated cake.

Vagina cake (c) Twitter

Vagina cake (c) Twitter

Nadia Cakes - a popular bakery in America - tried to create a geode rock-inspired cake and were hoping people would be impressed by the pin colours and style, the Mirror Online reports.

However, after posting an image of the cake on their Instagram account, people started to see similarities between the dessert and a vagina.

One user wrote: ''To be fair, it's a very pretty vagina cake.''

And another said: ''Does it come with instructions for proper handling?''

Nadia Cakes has pinned the image on their Twitter account and revealed that it isn't a vagina.

They wrote: ''We made this geode cake today in Maple Grove. It's not a vagina. Perverts. (sic)''

Nadia Cakes then wrote on the social media accounts: ''*At manager's meeting on Monday*

''Well, once again we've underestimated our customer's ability to see genitals in our baked goods. Let's put that cute mushroom cake we had planned in the 'do not make' file.

''Well, it's official. Our customers are 50% rock enthusiasts and 50% perverts.''

The post has been shared more than 13,000 times and has received around 5,000 comments.