Xiao Kui 蕭巋 (542-585), courtesy name Renyuan 仁遠, was an was an emperor (r. 562-585) of the Later Liang dynasty 後梁 (555-587), which ruled over small dominion after the downfall of the main Liang dynasty 梁 (502-557).
He was the third son of Emperor Xuan 梁宣帝 (r. 555-562) and Lady Cao 曹貴嬪 (see female offices). From the beginning, he was the nominated heir apparent. He continued the policy of his father to resist the Chen empire 陳 (557-589) in the south while accepting the suzerainty of the Northern Dynasties 北朝 (386~581). In 566, an invasion of the Northern Zhou 北周 (557-581) into Chen territory was pushed by by General Wu Mingche 吳明徹 (504-580). In 567, an army of Chen encircled Jiangling 江陵, the territory of the Later Liang, cutting off the waterways. However, Xiao Kui was able to escape. He returned, when the Chen army withdrew.
When Yang Jian 楊堅 (Emperor Wen 隋文帝, r. 581-604) founded the Sui dynasty 隋 (581-618) and reunified the north, Xiao Kui travelled to the northern capital Chang'an 長安 (today's Xi'an 西安, Shaanxi) to pay homage to Emperor Wen and to marry one of his daughters to the Prince of Jin 晉, Yang Guang 楊廣 (569-618). As the dynasties before, the Sui installed a regional commander-in-chief (zongguan 總管) to observe the Liang dominion.
Xiao Kui was posthumously called Emperor Ming 梁明帝 or Xiaoming 梁孝明帝. His temple name was Shizong 梁世宗. He was succeeded by his son Xiao Cong 蕭琮 (r. 585-587).