Brazilin

Brazilin is a red pigment obtained from the wood of the brazilwood family (Caesalpinia sp), and is also known as Natural red 24. Brazilin has been used since at least the middle ages to dye fabric, and has been used to make paints and inks as well. The specific color produced by the pigment depends on its manner of preparation: in an acidic solution brazilin will appear yellow, but in an alkaline preparation it will appear red. Brazilin is closely related to the blue-black dye haematoxylin, having one less hydroxyl group.

Sources of brazilin
Many members of the genus Caesalpinia produce brazilin, including brazilwood (C. echinata) and sappanwood (C. sappan). The sappanwood is found in India, Malaysia, and Sri Lanka, the latter being a major supplier of the wood to Europe during the early middle ages. Later, discovery of brazilwood in the new world led to its rise in popularity with the dye industry and eventually its over-exploitation. Brazilwood is now classified as an endangered species.

Extraction and preparation
There are many ways to extract and prepare brazilin. A common recipe, developed in the middle ages, is to first powder the brazilwood, turning it into sawdust. Then, the powder can be soaked in lye (which produces a deep, purplish red) or a hot solution of alum (which produces an orange-red color), either of which extracts the color better than plain water alone. To the lye extract, alum is added (or to the alum extract, lye) in order to fix the color, which will precipitate from the solution. The precipitate can be dried and powdered, and is a type of lake pigment.

Like many lake pigments, the exact colors produced depends on the pH of the mixture and the fixative used. Aluminum mordants used with brazilin produce the standard red colors, while the use of a tin mordant, in the form of SnCl2 or SnCl4 added to the extract is capable of yielding a pink color.

An alternative preparation which produces a transparent red color involves soaking the brazilwood powder in glair or a solution of gum arabic. Alum is added to help develop and fix the color, which can then be used as a transparent ink or paint.