The present invention relates to phenylaminopyrimidine compounds that are retrometabolic drugs or metabolites thereof. These compounds are also inhibitors of protein kinases including JAK kinases, in particular JAK2 kinases and can be used in the treatment of kinase associated diseases such as vascular diseases including pulmonary arterial hypertension (PAH), hypertension, hypertrophy and ischemia; immunological or inflammatory diseases including asthma and Chronic Obstructive Pulmonary Disease (COPD); and hyperproliferative diseases such as cancer including lung cancer.