Carnallite is the mineral of
Na
Ca
Mg
C
Carnallite is a mineral, a hydrated potassium magnesium chloride with formula KMgCl3.6(H2O). So carnallite is the mineral of Mg.