UPDATE 8-Oil prices slip, pulling back from recent gains

* Turkey says will deal only with Iraq on crude exports

* Oil flowing from Iraqi Kurdistan to Turkey despite threats

* 20 pct chance Turkey will close Iraq pipeline - analyst (Updates prices, adds details, adds quotes; changes byline, dateline, previous LONDON)

LONDON, Sept 28 (Reuters) - Oil prices slipped on Thursday, backing off from earlier gains spurred by tension around northern Iraq following the Kurdistan region's vote in favor of independence.

Crude has risen sharply in the last two-and-a-half weeks, in anticipation of renewed demand from U.S. refiners in the wake of Hurricane Harvey, and expectations for ongoing efforts by major world producers to limit supply.

However, both benchmarks are near overbought levels, based on an index of relative strength, which measures the speed and magnitude of price movements. U.S. crude has gained 9 percent in the last 14 trading days, while Brent is up 7 percent in that time period.

"We've made a really impressive run here and I do think we're due for a pullback," said Robert Yawger, director of energy futures at Mizuho in New York.

U.S. crude fell 26 cents to $51.88 a barrel by 11:34 a.m. ET (1534 GMT) after reaching a five-month intraday high of $52.86.

Brent was down 13 cents at $57.76 a barrel, after hitting a more than two-year high of $59.49 on Tuesday after Monday's referendum vote prompted Turkey to threaten to close the region's oil pipeline.

"Kurdistan and northern Iraq now export 500,000-550,000 barrels per day (bpd). That would be a big loss to the market," said Tamas Varga, analyst at brokerage PVM Oil Associates.

Iraqi Kurdistan voted overwhelmingly in favour of independence, prompting Turkish President Tayyip Erdogan to say he could use force to prevent the formation of an independent Kurdish state and might close the oil "tap".

Turkey promised on Thursday to deal only with the Iraqi government on crude, "restricting oil export" operations to Baghdad, the office of Iraqi Prime Minister Haider al-Abadi said.

Torbjorn Soltvedt, principal analyst for the Middle East at risk consultancy Verisk Maplecroft, said there was a roughly 20 percent chance that the pipeline linking northern Iraq and Ceyhan in Turkey would be shut.

Brent's premium over U.S. crude <WTCLc1-LCOc1> widened to a more than two-year high this week, in part due to reduced demand stemming from Harvey, but it has since narrowed and could tighten further in coming weeks due to higher margins for refined U.S. products.

Yawger noted that a sharp drawdown in U.S. distillate inventories - diesel and heating oil - ahead of the busy winter season should spur demand for crude in coming weeks, keeping any selloff modest.

(Additional reporting by Aaron Sheldrick in Tokyo; Editing by Dale Hudson and Marguerita Choy)