Which is hotter Blue flame or red flame?
The problem is that flames can be different colors for reasons other than temperature. Specifically, they may contain ionized materials with strong emission lines that color the flame. Probably the easiest example to observe using ordinary household materials is sodium which gives an orangish yellow color (easily seen by dropping a few crystals of table salt into the flame of a gas stove).