DC did better with superheroines for a long time, nowadays people might argue marvel but it's debatable.
Marvel has historically been better at portraying Black heroes, specifically men but in the last 10 years or so they've done a better job with women too
Some might argue that DC has more Asian representation than Marvel. I'm not sure if that's the case, but given Marvel's upcoming projects it's not by much
Thanks to the MCU and other multimedia ventures Marvel's been outpacing DC on several fronts recently.