Pinkie is worst mane 6 by a fair margin, while Dərpy is worst pony overall. Pinkie because the writers treat her with kid gloves. There are several episodes where Pinkie fucks everything up, making terrible decisions, but by the end of it, everything works out and we are given a “Pinkie was right all along” bit, ignoring that she probably caused the problem in the first place (see, SotC, GIYC, OaB, FID and IIRC another one I can’t recall).
Dərpy is a background pony with a bad color scheme who is given an unhealthy amount of focus. This wasn’t that bad pre-Dərpygate, as while her fanon interpretations were diverse and often contradictory, she at least had something going for her. Post-Dərpygate, mother Dərpy/misunderstood, but perfectly functional Dərpy has been jossed, and clumsy/enderingly mentally handicapped Dərpy is too sensitive to touch. Leaving the character with… Muffins.