In the 1870s, margarine, the economical rival to butter, was mandated in New Hampshire to be dyed pink in order to help dairy farmers. Their reasoning was that nobody would buy pink margarine.