We can use in contrast to or, less commonly, in contrast with to contrast two noun phrases: In contrast to most of the city's museums, the art museum is modern, bright and has a friendly atmosphere. The white roses looked lovely in contrast with the red ones. By contrast is less common than in contrast.
k