References to "ohaguro" exist in "The Tale of Genji" and "Tsutsumi Chūnagon Monogatari". At the end of the Heian period, at the time when aristocratic men and woman reached puberty and celebrated their "genpuku" or "mogi", the Taira clan and other samurai, and pages working at large temples, dyed their teeth. In particular, the imperial family and other high-ranking aristocrats who had finished their "hakamaza" (ceremony where a child is fitted with a "hakama") blackened their teeth and painted their eyebrows (). This was done in the imperial household until the end of the Edo era.