It’s completely fine to ask about someone’s pronouns.

If you are unsure of someone’s pronouns but wish to speak about the person, use they/them until you are certain of their pronouns.