Terraria item ID 4413. Terraria 1.4.5.7.
Pearls are crafting materials obtained from opening Oysters, and are used to craft Luck Potions. Each of the three pearls have different rarities, with the rarer ones being crafted into stronger potions. Additionally, when the Pink Pearl is thrown into Shimmer, it turns into a Galaxy Pearl. The player can only receive one pearl from each Oyster, with a 1/4 (25%) chance in total.
Description from the Terraria Wiki.