I found your question interesting and so I did some research. According to
https://www.bartleby.com, there's really no difference beweeen 'contrast to' and 'contrast with' although 'contrast with' is more frequently used.
The noun contrast may be followed by between, with, or to: There is a sharp contrast between his earlier and later works. In contrast with (or less frequently, to) his early works, the later plays are brittle and highly theatrical. When contrast is used as a transitive verb, both with and to may follow, though with is more common: He contrasts the naturalistic early plays with (or to) the brittle later comedies.here is a link to the source:
https://www.bartleby.com/64/C003/076.htmlHowever, there's a sharp distinction between 'compare to' and 'compare with'.
Compare usually takes the preposition to when it refers to the activity of describing the resemblances between unlike things: He compared her to a summer day. Scientists sometimes compare the human brain to a computer. It takes with when it refers to the act of examining two like things in order to discern their similarities or differences: The police compared the forged signature with the original. The committee will have to compare the Senate’s version of the bill with the version that was passed by the House. When compare is used to mean “to liken (one) with another,” with is traditionally held to be the correct preposition: That little bauble is not to be compared with (not to) this enormous jewel. But to is frequently used in this context and is not incorrect.here is the link to the source:
https://www.bartleby.com/64/C003/066.html