I usually greet my friends in many different ways, like
Hola, guapa / bonita / amiga / etc.
Sometimes with really close friends I would also use
Hola, princesa! in a more perky way.
But is it OK to use cariño for non-family members, even if those people are very good and close friends to you? I'm not really sure how much affection is applied by this word.