Can you say:
I definitely prefer the heat over the cold/coldness.
Are both okay here?
You might hear a native say it.
I prefer heat to cold.
I prefer hot weather to cold.
I prefer the heat to the cold.
Remember - correct capitalisation, punctuation and spacing make posts much easier to read.
We often use parallel terms, such as 'the heat' and 'the cold'.
Why aren't you suggesting, "I prefer the hotness over the coldness"? (No, I don't recommend that. Can you say it? - of course!).