What could cause constant sharp pain on the lower back just below the top of the pelvic bone and just above the right hip?

Referred pain. the pain at posterior superior iliac spine can be a referred pain from lumbar spine or pain comes from sacroiliac joint; pain comes from sacroiliac joint are typical related to the history of previous lumbar fusion or trauma;