The web has quietly moved beyond sRGB over the past few years, and it's now practical to publish HDR and wide-gamut images and video online. Modern displays (especially 4K TVs and Apple devices), cameras, browsers, and image formats like AVIF and JPEG XL all support HDR natively. The main bottleneck is no longer browsers or hardware but server-side tooling — image resizers, CMS platforms, and apps like Hugo, Immich, Slack, and YouTube's HDR transcoder still strip or ignore color profiles. The post explains color spaces (sRGB, Rec. 709, Rec. 2020, Rec. 2100, Display P3), why 8-bit JPEG/PNG fall short for HDR, how gain maps offer a JPEG workaround, and recommends AVIF + JPEG as the practical 2026 format pairing. Rec. 2100/HLG or PQ is suggested as the target color space going forward.
Table of contents
What is this whole “color space” thing?What’s wrong with sRGB?Why isn’t 8-bit color good enough for HDR?Why aren’t JPEG or PNG good enough for HDR?If sRGB is out, then which color space should I use?Next StepsSort: