Need to produce two pwm signals with 180 degree phase shift and different duty ratios, frequency of both are 50 kHz
You can use any microcontroller with 2 independent PWM interfaces.
Program the hardware registers of the 2 interfaces in order to get the desired PWM period and Ton.
The values that you will program in the registers will depend on the clock frequency that drives the PWM interface.

Don't do it in software (delay loop). Use the hardware registers.