Pink number when clearing barbarian encampments?

Whenever small pink numbers show up like that, it refers to bonus culture, contributing towards your next social policy unlock.

I'm not sure the exact specifics in your case, since there's a couple of different ways to get culture from winning combat.