most commonly used to refer to teeth. However, also used in Cockney rhyming slang to mean shites (or shits). "Bary White" or "Turkish Delight" are also used in Cockney rhyming slang to mean the same thing.
(teeth) she has a good set of pearly whites on her.
(shites) his friends are a pair of "pearly whites"!