Red onions, sometimes called purple onions, are medium to large in size and have a mild to sweet flavor. They are often consumed raw or lightly cooked with other foods. They tend to lose their redness when cooked.
The red color comes from anthocyanidins such as cyanidin which is not stable at high temperatures. Which is why, when combined with boiling water, you will get a medium green dye bath.