Via French (which originally meant a pearl of irregular shape) from Portuguese barroco (“irregular pearl”); related to Spanish barrueco and Italian barocco and Sicilian baroccu, of uncertain ultimate origin, but possibly from Latin verruca (“wart”), or possibly from the technical construction of scholastic logic, Baroco.