- Ruby: Red color comes from \( \text{Cr}^{3+} \) ions doped in aluminum oxide \( \text{Al}_2\text{O}_3 \)
- Emerald: Green color due to \( \text{Cr}^{3+} \) ions in beryllium aluminum silicate
So in both gemstones, the active coloring species is \( \text{Cr}^{3+} \)