The righr answer is "foil"
A foil character is any character in literature that, through his or her actions and words, highlights and directly contrasts the personal traits, qualities, values, and motivations of another character.
A foil is a character who contrasts with another character, usually the protagonist, to highlight particular qualities of the other character.