I believe the density p1 is greater than the density p2 .
Since the liquid are at equilibrium in the the open U-tube, the pressure at which the liquids meet should be the same. That is at the position where they are in contact, the pressure that liquid 1 exerts at that point is the same as the pressure exerted by liquid 2 at the point.