This literally translates to "Hello, what is your name?"
You can also say:
* "Olá, como se chama?" - "Hello, what are you called?"
* "Olá, como te chamas?" - (More informal) "Hello, what do you call yourself?"
The best choice depends on the context and how formal you want to be.