What is the meaning of あく?

lye, originally the clear alkaline liquid left after leaching wood ash in water

scum, the coagulated proteins and fats that gather on the surface of a pot of boiling food

components contained in vegetables that impart an acrid, astringent, or harsh flavor

アク: harshness as a characteristic of one's personality

Source: wiktionary.org