In literary terms, a contrasting character is called a foil. This person is generally a side character that makes the traits of the protagonist stand out by showing the audience an alternative. However, character contrasts aren’t limited to two individuals. You can contrast an entire group against each other, and you should.
Great advice -- differentiate your characters.