There are two ways to create a warm-cool contrast. The first is with colours that depict an extreme contrast of temperature.  The other is to have relative degrees of contrast between warm and cool.

Often in warm-cool contrast there is no significant difference in the value of the colours. One of the interesting effects of warm-cool contrast is that people report feeling warmer in rooms with red or orange tones and cooler in rooms in the blue or green range.