The victim, who was from Bradford, was a passenger in a blue Audi RS4.
Its driver, 24, was treated at hospital for minor injuries and has been arrested on suspicion of causing death by dangerous driving.
Police were called to the scene outside Ashfield Court on Bradford Road at 4.12am.
It was cordoned off throughout the morning but the road was reopened around 12.30pm.
Witnesses are asked to contact the Major Collision Enquiry Team on 101.