Bilirubin is the primary pigment found in bile, a product of the breakdown of red blood cells. Excess bilirubin produces jaundice, and in extreme cases (in babies) will cause kernicterus.