The calculated distance (air line) between Juan de Acosta and Riohacha is approximately 152 miles respectively 245 kilometers.
By car or train, the actual journey to Riohacha is certainly longer, as only the direct route (as the crow flies) between Juan de Acosta and Riohacha has been calculated here.
Air line (approximately)
245 kilometers
132 nautical miles