Go with the smallest 4K TV with HDR. If space is really your issue, think outside of the box and extend your wall out with an extendable wall mount. You will then have that space behind it for shelf space or whatnot.
https://www.amazon.com/s/?ie=UTF8&keywords=extendable+tv+mount&tag=hydsma-20&index=aps&hvadid=37474298773&hvpos=1t2&hvnetw=g&hvrand=14394907645713334007&hvpone=&hvptwo=&hvqmt=b&hvdev=m&hvdvcmdl=&hvlocint=&hvlocphy=9008159&hvtargid=kwd-1166805415&ref=pd_sl_7946s889sh_b&gclid=Cj0KEQjwpZO_BRDym6K_nMye7cEBEiQAVA7RaH6VCYLaM0Ybj703OORp6HT1-_ArdHccSzRY9JcqpRcaAjZe8P8HAQ