Tech

AVIF: HDR, Deep Color, Transparency and Browser Support

AVIF's headline talent — its small size — gets all the attention. But the format has a second, equally impressive side: it brings HDR-cinema technology into an ordinary picture — true high dynamic range, deep color and a wide gamut. Let's unpack these capabilities in plain language and honestly show where they already work and where they don't.

A laptop with an open web page — AVIF brings HDR and rich color to the web
AVIF brings HDR-cinema technology into an ordinary picture. Photo: Pexels

HDR: what it is and why a picture needs it

HDR (High Dynamic Range) is an image's ability to store a far wider spread of brightness than an ordinary SDR photo. In a regular picture the brightest pixel is simply "white." In HDR, a white sky, a glint on metal and a candle flame can differ in brightness by tens of times, just like in real life.

JPEG can't do this at all — it's designed for the standard range. AVIF, by contrast, was built around video technology, where HDR has long been the norm, and it inherits that capability. On an HDR display an AVIF photo looks three-dimensional: the sun truly dazzles, and the deep shadows keep details that JPEG would simply crush to black.

A simple analogy

SDR is like singing in one octave. HDR is the whole piano: the quietest lows (shadows) and the highest highs (highlights) sound at once and stay distinct. AVIF can record "the whole piano," while JPEG captures only one octave.

PQ and HLG: two roads to HDR

HDR in AVIF is implemented through so-called transfer curves from the Rec. 2100 standard. There are two, and each serves a purpose:

  • PQ (Perceptual Quantizer) — an absolute curve: it specifies a precise brightness in nits (up to 1000 nits and beyond). Used in HDR10 and Dolby Vision, ideal for film and studio content.
  • HLG (Hybrid Log-Gamma) — a hybrid curve, backward-compatible with SDR screens. Designed for broadcast: one signal looks decent on both an old and a new TV.

For the user the difference is small — both deliver "real HDR." What matters is that AVIF understands both curves, so it suits studio photography and smartphone content alike.

A grid of bright colorful images on a screen — AVIF can render rich tones and smooth gradients without banding
Rich colors and smooth transitions are AVIF's element: wide gamut and deep color work together. Photo: Pexels

Deep color: 10 and 12 bit against banding

Color depth is the number of brightness gradations per channel (red, green, blue). It sounds dry, but it's exactly what decides whether ugly bands appear on smooth transitions.

256shades/channel — 8 bit (JPEG)
1024shades — 10 bit (AVIF)
4096shades — 12 bit (AVIF)

JPEG's 8 bits give just 256 levels per channel. On a sunset sky or a smooth gradient that isn't enough — the eye sees stair-step bands, which is what banding means. AVIF, with 10 or 12 bits, gives thousands of gradations and the transition becomes truly smooth. For photographers and designers working with subtle tonal transitions this is a decisive argument.

8 bit is 256 shades. 10 bit is already 1024. That difference is exactly what removes the bands on a sunset sky.

Wide gamut: BT.2020 and P3

Color depth governs smoothness; the color gamut governs saturation. Gamut is the boundary of which colors a format can show at all. JPEG is usually limited to the old sRGB space. AVIF supports modern wide gamuts:

Gamut (JPEG)
sRGB
Gamut (AVIF)
sRGB, Display P3, BT.2020
Depth (AVIF)
8 / 10 / 12 bit
HDR curves
PQ, HLG (Rec. 2100)

A wide gamut like Display P3 (the standard on modern phones and laptops) or BT.2020 lets you show the vivid green of grass and a saturated red that would look washed out in sRGB. On a wide-gamut display the difference is clearly visible.

Transparency and animation

AVIF isn't only about photos. It inherits two useful bonuses from its container:

  • Transparency (alpha channel). Like PNG — you can make logos and icons with a transparent background. But AVIF is noticeably lighter than PNG, which is valuable for the web.
  • Animation. AVIF can store short animated sequences and can replace a bulky GIF at a fraction of the weight.

The result is a surprisingly versatile format: a single AVIF can cover the jobs that used to require JPEG (photos), PNG (transparency) and GIF (animation).

Browser support: an honest map

All these capabilities are useless if there's nowhere to show them. So, honestly, about support. Basic AVIF opens in most modern browsers:

BrowserAVIF supportSince
ChromeYes2020
FirefoxYes2021
SafariYes (16.4+)2023
Edge / OperaYesChromium-based

An important nuance

Combined AVIF support is about 93–95% of users, slightly below WebP, which arrived earlier. Also, "opening AVIF" and "correctly showing its HDR" are not the same thing: full HDR display also depends on having an HDR screen and the right OS settings. On a regular SDR screen, HDR-AVIF is tone-mapped to the standard range automatically.

What happens on a regular screen

A fair question: what if I don't have an HDR monitor? No problem. HDR-AVIF on a regular SDR display is shown via tone-mapping — the brightness range is carefully compressed into the standard one so the photo doesn't come out blown-out. You'll see a normal picture, just without the "wow" of the extended range.

The same happens when converting to formats without HDR. When you turn an HDR-AVIF into JPG, our converter performs perceptual tone-mapping: highlights are gently rolled off, shadows stay put, and the output is a properly exposed SDR photo with no blown-out areas.

A laptop with an open website in a dark room — across different screens AVIF adapts brightness and color correctly
On an SDR screen, HDR-AVIF is gently mapped into the standard range — the picture stays correct. Photo: Pexels

Need a plain JPG from an HDR-AVIF?

The FormatZ converter tone-maps HDR to SDR correctly and preserves EXIF and the ICC profile. No blown-out highlights, right in your browser.

Convert AVIF to JPG

If transparency matters, choose AVIF to PNG; for a light web version with an alpha channel, AVIF to WebP works well. The full list is on the all formats page.

HDR (high dynamic range) lets an image store far brighter highlights and deeper shadows than an ordinary SDR photo. AVIF supports HDR through the PQ and HLG transfer curves from the Rec. 2100 standard. On an HDR display such a photo looks more three-dimensional: the sun truly dazzles and the shadows keep their detail. On a regular screen it tone-maps down to SDR.
Color depth is the number of gradations per channel. 8 bits (like JPEG) give 256 shades, 10 bits give 1024, 12 bits give 4096. The more there are, the smoother the transitions: a sunset sky or a gradient won't show visible bands (banding). For photos with smooth transitions this is a decisive advantage.
Yes, both. AVIF supports an alpha channel (transparency) like PNG, but the file is far lighter — handy for logos and icons. It also supports animation and can replace the heavy GIF at a fraction of the weight. That makes AVIF one of the most versatile raster formats around.
Chrome since 2020, Firefox since 2021, Safari since version 16.4 (2023). Together that's about 93–95% of users — slightly below WebP, which has been supported longer. For the remaining browsers, use the picture tag with a fallback to WebP or JPG.
JPEG supports neither HDR nor 10-bit color, so the conversion performs tone-mapping: the HDR brightness range is carefully compressed into 8-bit SDR. Highlights are gently rolled off, shadows are preserved — the output is a properly exposed photo with no blown-out areas. The FormatZ converter does this automatically.