The opposite gender of "him" is her.
According to the provided reference, "'him' and 'her' represent the masculine and feminine nouns, respectively." The pronoun "her" is used to refer to things that belong to or are associated with a female. Therefore, "her" is the correct opposite gender pronoun of "him."