sRGB is a standard RGB color space that defines exactly which red, green and blue primaries, which white point and which tone curve a set of RGB numbers refers to. In photography it is the default color space for the web, smartphones, consumer monitors and most online print labs, so an image encoded in sRGB looks predictable on the widest range of devices.
Within the topic of Color & white balance, sRGB sits at the output end of the chain: white balance decides which colors the scene had, and the color space decides how those colors are written down as numbers in the final file. Choosing sRGB is therefore a decision about compatibility, not about how the camera sees the scene.
How sRGB defines color numerically
sRGB turns three numbers into a specific color by fixing three primaries, a white point and a transfer function. It was created in the mid-1990s for CRT monitors and the early web, and it was later formalized as the international standard IEC 61966-2-1. Its primaries are the same as those of the ITU-R BT.709 high-definition video standard, which is why sRGB and HD video share a similar color range.
The white point is D65, a daylight white of about 6500 K. The transfer function is a piecewise curve: a short linear segment near black followed by a power segment with an exponent of 2.4, which together behave much like a simple gamma of about 2.2. This curve spends more code values on dark tones, where human vision is most sensitive, so an 8-bit sRGB file with 256 levels per channel shows smooth gradients in most scenes.
The table below summarizes the parameters that make a file sRGB rather than any other RGB encoding.
| Parameter | sRGB value | What it controls |
|---|---|---|
| Red primary | x 0.640, y 0.330 | Most saturated red the space can express |
| Green primary | x 0.300, y 0.600 | Most saturated green, the main gamut limit |
| Blue primary | x 0.150, y 0.060 | Most saturated blue |
| White point | D65, about 6500 K | Which RGB triple counts as neutral white |
| Transfer curve | Piecewise, close to gamma 2.2 | How code values map to brightness |
| Typical bit depth | 8 bits per channel | Number of tonal steps per channel |
The sRGB gamut and its limits
The color gamut of sRGB is the triangle formed by its three primaries, and it covers only roughly a third of all colors humans can see when plotted on a standard chromaticity diagram. The space is especially limited in saturated cyans and greens, and somewhat limited in deep oranges and purples.
Many real subjects stay inside this gamut: skin tones, most foliage, overcast skies and typical interiors. Problems appear with intense flowers, sunset clouds, stage lighting, neon signs and tropical water. When such colors are converted to sRGB, they must be clipped or compressed to the nearest color the space can hold, which flattens texture inside saturated areas. This is called gamut clipping, and it is the main practical cost of working in sRGB.
sRGB compared with Adobe RGB and ProPhoto RGB
sRGB is the smallest of the three color spaces photographers meet most often, and each larger space trades compatibility for range. Adobe RGB extends the green and cyan region, which matters mainly for printing on wide-gamut inkjet printers. ProPhoto RGB is so large that some of its primaries lie outside visible color, so it is used as an editing space for raw files rather than as a delivery format.
| Color space | Relative gamut | Typical role | Main risk |
|---|---|---|---|
| sRGB | Small | Web, phones, social media, most labs | Clipping of saturated colors |
| Adobe RGB | Medium, wider greens and cyans | Printing, wide-gamut monitors | Dull colors in apps without color management |
| ProPhoto RGB | Very large | Editing raw files at 16 bits | Banding at 8 bits, wrong colors if untagged |
| Display P3 | Medium, wider reds and greens | Modern phones, tablets and laptops | Inconsistent support outside managed apps |
A wider space is not automatically better. An image that contains only sRGB colors gains nothing from a larger container, and an 8-bit file in a very wide space spreads its 256 levels over a bigger range, which increases the risk of visible banding in skies and gradients.
Where sRGB fits in a photographic workflow
In practice, sRGB is applied at two points: in the camera when it creates JPEG files, and in the editor when a finished image is exported for delivery. A raw file has no color space of its own; the color space setting in the camera menu affects only the embedded preview and any JPEGs, while the raw converter decides the working space later.
The safest workflow keeps the widest useful data during editing and converts to sRGB only at the end. The conversion should be done through the editor’s export or Convert to Profile function, never by simply assigning a different profile, because assigning a profile reinterprets the numbers and shifts every color.
| Situation | Recommended space | Reason |
|---|---|---|
| Website, social media, messaging | sRGB | Unmanaged browsers and apps assume sRGB |
| JPEG straight from the camera | sRGB | Files are usually shared without editing |
| Raw editing | ProPhoto RGB or a wide working space | Keeps saturated colors until the final export |
| Fine art inkjet print | Adobe RGB or the printer profile | Printer may reproduce colors beyond sRGB |
| Consumer photo lab | sRGB unless the lab states otherwise | Many lab workflows expect sRGB files |
Every exported file should carry an embedded ICC profile or at least an EXIF color space tag. Without it, color-managed software must guess, and most software then assumes sRGB anyway, which is another reason sRGB is the safe default.
Common mistakes with sRGB
Most color problems blamed on sRGB come from mismatched or missing profiles rather than from the space itself. The table lists frequent symptoms and their causes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Dull, desaturated colors online | Adobe RGB file shown as sRGB | Convert to sRGB before export |
| Oversaturated, garish colors | sRGB file shown on a wide-gamut screen without management | Use color-managed viewing software |
| Banding in skies | 8-bit file in a very wide space | Edit at 16 bits, export to sRGB at the end |
| Colors shift after export | Profile assigned instead of converted | Use Convert to Profile |
| Print looks darker than screen | Monitor too bright, not a color space problem | Calibrate the display and soft proof |
- Do not judge sRGB on an uncalibrated monitor, because the display error is often larger than any color space difference.
- Do not upscale a small space: converting an sRGB JPEG to Adobe RGB cannot restore colors that were already clipped.
- Check the white balance first, since a color cast is a white balance problem and survives every color space conversion.
The simple explanation
A digital photo is stored as numbers, and those numbers only become colors when everyone agrees what they mean. sRGB is that shared agreement for the everyday world of screens, phones and the internet.
Think of it as a standard box of crayons. It does not contain every possible color, so a very vivid flower may have to be drawn with the nearest crayon in the box. In return, nearly every device owns the same box, so the picture looks almost the same wherever it is viewed. The key idea is simple: use sRGB when an image leaves the editor for screens or a regular photo lab.
How it is used in practice
A travel photographer shoots raw files of a turquoise lagoon and a market full of saturated fabrics. She edits them in a wide working space at 16 bits, where the intense cyans in the water remain intact, and she prepares two outputs. For a gallery print on a wide-gamut inkjet printer, she exports a 16-bit TIFF in Adobe RGB and soft proofs it with the paper profile.
For her online portfolio and social media, she exports 8-bit JPEGs converted to sRGB with the profile embedded. Before export she enables a gamut warning, sees that part of the lagoon falls outside sRGB, and lowers saturation in that area slightly so the water keeps its texture instead of becoming a flat patch. The result is consistent color across phones, laptops and browsers, while the print still shows the richer cyans the printer can reproduce.