From Latin rubeus (“red”, “reddish”). Compare Galician rubio.
Practice speaking and memorizing "ruivo" and many other words and sentences in Portuguese.