I sincerely hope that I've never been a pity/diversity hire. I want to be evaluated on my qualifications as a well-rounded developer and compensated appropriately for my work.
What's even more troublesome than being a diversity/affirmative action hire is when you aren't one and other people assume you were one. When a group is artificially bumped up in the rankings (or is perceived to have been), everyone assumes they are not as skilled as they really are.
I'm sure you weren't.
Why would you even think that, since you're doing great work, most probably.