The origin of the tar baby seems to lie in the capable hands of Uncle Remus; however, many historians actually trace the tar baby back at least 2500 years before the beloved folktale. The tar baby’s oral history is linked to the history of the rabbit trickster tales in which a rabbit or hare plays the trickster while he is often tricked by the Fox or Wolf. Specifically, the tar baby shows up either as a main character, central theme OR as part of a "stickfast" motif:
"From Bobtail to Brer Rabbit: Native American Influences upon Uncle Remus," an essay by Jay Hansford C. Vest, explores the origin of the trickster rabbit and his tar baby.
Aurelio Espinosa (folklorist) determines that "The Wonderful Tar Baby Story" may have its origins in India, he also thinks that it may have been shared , transported to Africa, and then to the Americas by the Spanish. A cycle of trickster tales in Africa were "associated with the spider, Anaanu."
In 1521, after the capture of a Siouan Indian near Winyaw Bay, South Carolina, Lucas Vazquez de Ayllon brought him back to Spain where he was interviewed by historian Peter Martyr. In Martyr’s De Orbe Novo, the author shares his interview during which the Indian relates a folktale of the "stickfast" motif.
As early as 1612, the idea of a "mightie great Hare" as the "chief god" of the Native Americans is introduced by William Strachey (The Historie of Travell into Virginia Britania).
In "My Mother’s Brother: Monacan Narratives of the Wolf from the Virginia Blue Ridge," Jay Hansford C. Vest shares the following tale, surely a predecessor of Uncle Remus’ "The Wonderful Tar Baby:"
"Bobtail stooped down and uncovered his friend, exclaiming ‘Go get him Piskey!’ Without hesitating Wolf leapt upon the Piskey (tar baby) slapping him with both front paws which stuck fast . . . they became tightly affixed to the Piskey; and in a last desperate act, Wolf bit the Piskey about its head. Now he was stuck fast . . ."
"The Pointing Man of the Trickster Cycle" of the Winnebago Indians (retold by Richard L. Dieterle) tells the tale of a man who is fooled by a tree stump with a branch that sticks out like a pointing finger. He believes it is a man who is trying to irritate him by not responding or showing due respect to him. For the Winnebago, the moral to this story becomes: "We never look before we set, we do everything without thinking, we think we know all about it." This is easily compared to the tar baby story since the tar baby is "naturally silent."
The most well-known of the trickster rabbit/tar baby tales is of course, Uncle Remus’ "The Wonderful Tar-Baby Story" (1881) which finds its oral history rooted deeply in the stories of slaves told to Joel Chandler Harris. He uses the myth, as many others do, to comment on life at the time.
http://kpearson.faculty.tcnj.edu/Dictionary/tar_baby.htm------------------
It CAN be used in a racist context - depends on how one 'believes' it is being used.