The name “ruby” comes from the Latin word ruber, which means red.
Sapphires get their colors from trace elements in the mineral corundum. Classic blue sapphires contain iron and titanium, and trace elements of chromium can turn corundum pink, while more chromium turns it into a ruby.