I think that is a male due to the dorsal fin being pointed at the end and not rounding off. Here is a website that helped me sex my rams:
Sexing Rams - SomeFin's Fishy | Freshwater Breeder | South American Dwarf Cichlids
Rams are so fun to have but they are fragile. I love mine to death but I lost one a week after I got it, and then the female wouldn't eat until lI got another male and now she has ich. If you have problems in the future, hang in there!