Four luminescent lanthanide–organic frameworks (Ln = Eu3+, Tb3+, Sm3+ and Dy3+), isostructural to MOF-LIC-1(Gd), are assembled. Multiple colors are obtained for the system and white-light emission is realized by the single component Sm(iii) framework. Most interestingly, Eu-MOF performs highly selective and sensitive luminescence sensing of Al3+.