Certain CDK4/6 inhibitors and pharmaceutically acceptable salts thereof are described. In particular, these compounds can inhibit kinase activity of CDK4/6 and may be useful for the treatment of hyper-proliferative diseases like cancer and inflammation. In addition, the pharmaceutical compositions thereof and methods of use thereof are also described.