In hcp arrangement, the coordination number is:
The figure shows the arrangement of atoms in hcp arrangement. From the figure, it is clear that the coordination number of an atom =12.
The coordination number of an atom is defined as the number of atoms touching that particular atom in a unit cell.