Recently, the LHCb Collaboration reported three Pc states in the J/ψp channel. We systematically study the mass spectrum of the hidden charm pentaquark in the framework of an extended chromomagnetic model. For the nnncc pentaquark with I = 1/2, we find that (i) the lowest state is Pc(4327.0, 1/2, 1/2 − ) [We use Pc(m, I, J P ) to denote the nnncc pentaquark], which corresponds to the Pc(4312). Its dominant decay mode is ΛcD * . (ii) We find two states in the vicinity of Pc(4380). The first one is Pc(4367.4, 1/2, 3/2 − ) and decays dominantly to N J/ψ and ΛcD * . The other one is Pc(4372.4, 1/2, 1/2 − ). Its dominant decay mode is ΛcD, and its partial decay width of N ηc channel is comparable to that of N J/ψ. (iii) In higher mass region, we find Pc(4476.3, 1/2, 3/2 − ) and Pc(4480.9, 1/2, 1/2 − ), which correspond to Pc(4440) and Pc (4457). In the open charm channels, both of them decay dominantly to the ΛcD * . (iv) We predict two states above 4.5 GeV, namely Pc(4524.5, 1/2, 3/2 − ) and Pc(4546.0, 1/2, 5/2 − ). The masses of the nnncc state with I = 3/2 are all over 4.6 GeV. Moreover, we use the model to explore the nnscc, ssncc, and ssscc pentaquark states. P c (4312) + : M = 4311.9 ± 0.7 +6.8 −0.6 MeV, Γ = 9.8 ± 2.7 +3.7 −4.5 MeV, P c (4440) + : M = 4440.3 ± 1.3 +4.1 −4.7 MeV, Γ = 20.6 ± 4.9 +8.7 −10.1 MeV, P c (4457) + : M = 4457.3 ± 0.6 +4.1 −1.7 MeV, Γ = 6.4 ± 2.0 +5.7 −1.9 MeV.Since their masses are slightly below the Σ cD , Σ * cD , and Σ cD * thresholds respectively, they can be interpreted as molecules composed of a charm baryon and an anticharm meson [37][38][39][40][41][42][43][44][45][46][47][48][49]. For example, Chen [46] interpreted them as bound states of Σ cD with J P = 1/2 − , Σ * cD with J P = 3/2 − , and Σ cD * with J P = 3/2 − , while Chen et al. [45], He [48], and Liu et al. [49] interpreted the P c (4312), P c (4440), and P c (4457) as loosely bound Σ cD with (I = 1/2, J P = 1/2 − ), Σ cD * with (I = 1/2, J P = 1/2 − ), and Σ cD * with (I = 1/2, J P = 3/2 − ). Another interesting possibility is that some of the P c states might be tightly bound pentaquark states. The light q 4q pentaquark states was first studied with the color-magnetic interaction among the quarks [9,10]. Later, Strottman used the MIT bag model to discuss this arXiv:1904.09891v3 [hep-ph] 26 Jul 2019 *