Pearson was born at Tettenhall, then in Staffordshire, the eldest son of barrister John Pearson (1771-1841), a senior East India Company official who served as Advocate-General of Bengal from 1824 to 1840, and his wife Jane Elizabeth Matilda Hooke (1784-1833).