What is the name of the pigment of the teeth?

Teeth don't have a pigment. They're naturally white because calcium is white.

Any yellowing or other color is caused by certain drinks and activities like drinking coffee and smoking or simply poor dental health.