The calculated distance (air line) between Palmares and Recife is approximately 65 miles respectively 105 kilometers.
By car or train, the actual journey to Recife is certainly longer, as only the direct route (as the crow flies) between Palmares and Recife has been calculated here.