Every reference on the Google Machine says that can change it up.
"When the male dies, the dominant female will then transform into the male sex. They also get completely different patterns and colours. This colour and sex change can last up to 4 years in the aquarium and almost only happens if several specimens live in the aquarium (pairing)."
"Leopard Wrasses are also protogynous hermaphrodites and have the potential to change color phases three times in their life. All Leopard Wrasses are born female and they will have female coloration when they are in their juvenile phase. Females become sexually mature during their Initial Phase and their colors will brighten. Then during the terminal phase, the most dominant female becomes the male in a harem. These may also be called secondary males."
"Hermaphroditic - This species can change gender from female to male.
When a male is needed, a female changes sex and takes on the role."