In Scandinavia red symbolises ...
and a red flag in politics for communism and the Nazi flag was also red with their symbol, which represented power.
The association of a red flag with workers goes back to 1848 revolution.
And thus, we've got the red colour in our national flag (which is the one from 1848).
Interesting information - where does the black and gold come from?