Described are 3-hydroxypyridin-4-ones of formula I ##STR1## wherein R.sub.1 -R.sub.4, A and B are as defined in the description. The compounds have valuable pharmaceutical properties and are especially effective as chelators of iron. They can be used to treat excess iron in the bodies of warm-blooded animals.