The use of pink as distinctive of girls can be dated back at least to 1868, in Louisa May Alcott's Little Women, when, after being shown boy and girl twins, Laurie asks:
Most remarkable children I ever saw. Which is which?...Amy put a blue ribbon on the boy and a pink on the girl, French...