use/play the race/gender card
idiomDefinition of use/play the race/gender card
: to make a claim that race/gender was unjustly considered as a reason for the way a person was treated
She was accused of playing the race card to defend her client. She used/played the gender card and said we didn't hire her because she's a woman.