Typography, Color Spaces & Vector Craft

sRGB, Display P3, and CMYK: Preventing Color Shifts Across Devices

A red that separates cleanly on a Display P3 monitor can flatten on an sRGB screen and lose a different set of distinctions on matte paper. This EMFLS Studio Journal field guide shows how to locate the first clipped channel, verify the two CSS color paths, and use measured color differences on a print strip to choose a rendering intent.

Display P3 to sRGB Linear sRGB red channel 1.25 1.00 0.75 0.50 0.50 0.75 0.835 1.00 Linear Display P3 red (G = B = 0.10) Hard clamp Raw overrun Matte CMYK proof Neighbor separation (ΔE₀₀) Example target ≥ 2.0 Relative colorimetric 0.7 Perceptual 2.8 0 1 2 3 4 Illustrative readings
On the left, the linear red channel hits the sRGB ceiling at a Display P3 red value of about 0.835, with green and blue held at 0.10. On the right, compare the illustrative difference between two matte proof patches with a studio target of 2.0 ΔE₀₀.

Set up a strip you can reuse

Build one reference strip in a tagged Display P3 master. Include a red ramp, a saturated green or cyan from the artwork, a neutral ramp, and one project color whose appearance must stay close to an approved reference. Add a crop that uses those colors at their real sizes. A boundary that looks clear in a row of swatches can disappear in a thin rule or small label.

Make the print patches 15 mm square with 4 mm gutters, adjusting the patch size if your instrument requires a larger target. Label the patches outside the measurement area and leave a blank patch for the paper white. Save the source coordinates with each patch ID. For the red ramp, sample linear Display P3 red from 0.50 to 1.00 in steps of 0.05, with linear green and blue both at 0.10. Add samples at 0.83 and 0.84 to bracket the first crossing shown in the diagram.

Reference checks for the same studio strip
OutputWhat sets the boundaryWhat to verify
sRGBAll three converted linear channels must fit within 0–1.Check the fallback and preserve neighboring steps where they convey information.
Display P3P3 primaries define the source gamut. The actual display and its profile govern reproduction.Check that the enhanced rule wins and inspect the ramp on a profiled wide-gamut screen.
Matte CMYKThe output ICC profile describes the printing condition, including the chosen stock.Compare both intents and measure the selected patches on a dry proof.

Locate the first channel crossing

Convert the test ramp without gamut mapping. Linearize encoded RGB values first if the tool starts with CSS or image values. Transform linear Display P3 to XYZ with a D65 white, then transform XYZ to linear sRGB. Both RGB spaces in this conversion use D65, so the calculation needs no white-point adaptation. Keep the signed results before rounding, clamping, or applying the destination transfer curve. W3C sample conversion code.

For this strip the linear sRGB red channel is approximately 1.22494 times the linear P3 red minus 0.02249. Solving for an sRGB red of 1 gives a P3 red of about 0.83473. At P3 red 0.83, the converted red is about 0.994. At 0.84 it is about 1.006. At 0.90 the converted triplet is approximately (1.080, 0.066, 0.084). Green and blue stay within range across this strip. Run the same channel test on the green or cyan sample, where the first failure may be a negative value.

A hard clamp makes every red value beyond the crossing equal to 1 while green and blue still move. That plateau explains why a nominally even source ramp can lose visible separation. The dashed line in the diagram is the raw conversion, and the solid line shows a simple clamp for diagnosis. Browsers can apply gamut mapping, so the plotted clamp is a controlled comparison. For a ramp that carries meaning, inspect the entire sRGB version and reduce chroma before export where the steps bunch together.

Give CSS an explicit sRGB fallback

Set the fallback as a complete property value, then enable the enhancement when the browser understands P3 syntax and reports a suitable output gamut. This example uses the encoded P3 value for the 0.90 patch. The fallback comes from the 0.75 patch converted to sRGB and rounded to eight bits. That gives a reproducible candidate to assess beside neighboring colors and text. W3C color-gamut media feature.

.sample { background-color: #f34c53; }

@media (color-gamut: p3) {
  @supports (background-color: color(display-p3 0.95469 0.34919 0.34919)) {
    .sample { background-color: color(display-p3 0.95469 0.34919 0.34919); }
  }
}

Open the same test page on a standard-gamut display and a profiled wide-gamut display. Record the result of matchMedia('(color-gamut: p3)').matches and inspect the winning declaration in developer tools. Force the fallback by disabling the enhanced rule and compare both versions on the wide-gamut display as well. The query describes approximate capability. A winning declaration proves cascade selection, while a physical display check reveals whether the chosen colors retain their separation. Check text contrast against each background actually used, including hover and focus states.

Export raster assets with their matching embedded profile and inspect the served files after any image optimization. When creating an sRGB derivative, convert the image before export. Assigning sRGB to existing P3 numbers changes how those numbers are interpreted. If the CSS chip looks right but the adjacent image shifts, check the actual delivered image for a missing or incorrect profile before editing either color.

Soft-proof the matte condition with two intents

Get the ICC profile for the exact matte stock and press condition or the printer, ink, and media settings in use. Record the profile filename and version, and agree with the provider on who makes the final conversion. One party should own that transform. Keep the tagged RGB master so both intent trials start from the same values.

Profile the monitor with an instrument, turn off adaptive white and brightness, and use a neutral surround. For SDR proofing, start around 100 cd/m² and adjust the proof viewing setup if the screen white overwhelms the lit paper. Use a D50 viewing booth for print comparisons. Give your eyes time to adapt, then compare the paper under the booth and the simulation without letting booth light spill onto the display.

In the proof setup, select the output profile and disable Preserve RGB Numbers if the option is available, so the preview simulates conversion from the master. Compare relative colorimetric with black point compensation enabled against the profile’s perceptual transform. Record the compensation setting for both presets where available. For the appearance check, enable paper white and black ink simulation as supported. Keep simulation settings identical between the two intent trials. Adobe proof setup controls.

Relative colorimetric maps source white to destination white and generally preserves in-gamut relationships in colorimetric terms, with black point compensation helping to fit shadows. Perceptual mapping can change in-gamut colors to retain relationships across a wider range, and the result depends on the profile. ICC-absolute colorimetric can retain the target paper tint when simulating one print condition on another. Compare white, near-black steps, and the approved project color alongside the saturated pair. ICC specification for rendering intents.

Measure the proof and record the release settings

Print both intent variants side by side using the same stock and agreed conversion workflow. Follow the provider’s drying or stabilization interval. Measure patch centers with a spectrophotometer, using the same backing and measurement condition for the proof and reference. Record the condition, such as M1 if it matches the supplied characterization data, and save the Lab values. Repeat close calls after lifting and reseating the instrument. Inspect the crop under D50 to confirm the separations still work at final size.

Use CIEDE2000 to score two different pairs of readings. For separation, compare adjacent patches on the same proof. For accuracy, compare the project color with its approved physical target measured under the same conditions. In the illustrative trial, the saturated pair measures 0.7 ΔE₀₀ apart under relative colorimetric and 2.8 under perceptual. The project color is 2.6 from target under relative and 4.4 under perceptual. With studio limits of at least 2.0 for the pair and at most 3.0 for the target, each proof misses one requirement. Reduce chroma in the troublesome print ramp, rebuild its spacing, and repeat the strip before approving either intent.

  • Save the tagged master, swatch IDs, and the coordinates of the first sRGB crossing.
  • Verify both CSS paths, delivered image profiles, and contrast in the rendered layout.
  • Record the matte stock, ICC profile, rendering intent, compensation setting, and conversion owner.
  • File the dry proof readings with the agreed limits and confirm the crop passes a D50 visual check.