Red bean paste (anko) — a sweet paste usually made from azuki beans, commonly used in Japanese confections.
どら焼きのあんこが甘すぎた。
The red bean paste in the dorayaki was too sweet.
あんこは粒あんとこしあんの二種類がある。
There are two types of anko: chunky (tsubuan) and smooth (koshian).
和菓子屋であんこの味見をさせてもらった。
I tasted the anko at the Japanese confectionery shop.
A filling (e.g., for a manjū) — the paste or stuffing used inside confectionery.
この饅頭の餡子はこしあんで作られている。
The manjū's filling is made with smooth anko.
甘さ控えめの餡子を使った和菓子が人気だ。
Wagashi made with mildly sweet anko are popular.
Stuffing or padding — a general sense of a filling or stuffing (used more broadly or metaphorically).
昔ながらの抱き枕はあんこ(小豆)を詰めて作られていた。
Traditional body pillows used to be stuffed with adzuki beans (anko).
人形のあんこが偏っているので直した。
The doll's stuffing was uneven, so I fixed it.