Roasted coffee beans contain small quantities of a compound called acrylamide. In high amounts, acrylamide can be harmful. There are even concerns that it may also cause cancer. Source link