Erythrin can refer to two different things: a carmine-red cobalt mineral and a genus of tropical trees known as "erythrin." The mineral is a hydrated cobalt arsenate used as an indicator of cobalt minerals and for collecting. The trees are legumes known for their use in agroforestry systems, as they fix nitrogen, provide shade and forage, and some species have medicinal and ornamental applications.