PDF Colour Spaces
The mathematical models that define how colours are represented in a PDF — including device-dependent spaces (DeviceRGB, DeviceCMYK, DeviceGray) and device-independent spaces (ICC-based, CalRGB, Lab) that ensure consistent colour reproduction across different output devices.
Colour in a PDF document is not just a number like "red 255" — it is a mathematically defined specification that describes how colour values should be reproduced on a specific output device. PDF colour spaces define this relationship, covering everything from simple black-and-white documents to professionally printed CMYK brochures with embedded ICC profiles for accurate colour reproduction across printers and screens.
Device-dependent colour spaces
Device-dependent colour spaces specify colour relative to the output device's ink or display characteristics, without device-independent calibration:
<strong>DeviceRGB</strong> — Three components (red, green, blue) in the range [0,1]. The default colour space for screen-optimised PDFs. The specific appearance of a DeviceRGB colour depends on the display device's phosphor/LED characteristics and colour profile. The same R=0.5, G=0.3, B=0.8 value will look slightly different on different monitors.
<strong>DeviceCMYK</strong> — Four components (cyan, magenta, yellow, black) in the range [0,1]. The default for print-optimised PDFs. CMYK values specify ink amounts for a specific press configuration; the same CMYK values on different inks and paper stocks will produce different colours.
<strong>DeviceGray</strong> — Single component in the range [0,1] (0 = black, 1 = white). The simplest colour space; used for black-and-white documents and greyscale images. Produces the smallest file sizes for monochrome content.
<strong>The problem with device-dependent spaces</strong> — A PDF with DeviceRGB images was designed for screen viewing; the same file printed on a CMYK press converts RGB to CMYK during printing, which can shift colours significantly. A PDF with DeviceCMYK colours designed for a specific press may display very differently on screen. This is why print professionals require device-independent colour specifications with embedded ICC profiles.
Device-independent colour spaces
Device-independent colour spaces define colour in absolute perceptual terms, independent of any specific output device:
<strong>ICCBased</strong> — The most important device-independent space. An <a href="https://en.wikipedia.org/wiki/ICC_profile" target="_blank" rel="noopener">ICC colour profile</a> (International Colour Consortium) is embedded in the PDF, defining the exact colour gamut and transformation of the colour values. The PDF viewer or RIP (raster image processor) uses the ICC profile to convert to the output device's colour space. This enables consistent colour reproduction across different screens and printers.
<strong>CalRGB / CalGray</strong> — Calibrated RGB and grey colour spaces that embed white point and gamma parameters, providing a device-independent specification without a full ICC profile. Less precise than ICCBased but self-contained.
<strong>Lab</strong> — The CIE L*a*b* perceptual colour space. L* is lightness; a* is green-red; b* is blue-yellow. Lab is device-independent and perceptually uniform — equal numerical differences produce approximately equal perceived colour differences. Used in high-end print workflows and colour management systems.
<strong>Separation and DeviceN</strong> — Special ink spaces used for spot colour printing. A Separation colour space defines a single ink (e.g., Pantone 485 red); a DeviceN space defines multiple inks simultaneously. Used by print service providers for branded colour matching using specific ink formulations.
For PDF/A archival compliance, <a href="https://pdftheguide.com/glossary/pdf-a" target="_blank" rel="noopener">PDF/A-1 and PDF/A-2</a> require that all colour spaces have embedded ICC profiles or use calibrated spaces — device-dependent DeviceRGB/CMYK without an output intent ICC profile is not permitted. The output intent (defined in the document's /OutputIntents dictionary) specifies the intended output device colour characterisation.
Colour management in PDF workflows
<strong>Screen-to-print colour shift</strong> — The most common colour problem in PDF workflows. RGB content that looks correct on a calibrated screen prints with shifted colours on a CMYK press because RGB has a wider colour gamut than CMYK for some colours (particularly saturated blues and purples). Solution: convert to CMYK before printing using a calibrated ICC profile, or design in CMYK from the start for print-destined content.
<strong>PDF/X for print-ready files</strong> — <a href="https://en.wikipedia.org/wiki/PDF/X" target="_blank" rel="noopener">PDF/X</a> (ISO 15930) is the PDF standard for print-ready files, requiring: embedded ICC profiles for all colour spaces, no DeviceRGB without a calibrated output intent, all fonts embedded, and trim box and bleed box defined. Print service providers require PDF/X-compliant files to ensure predictable colour output. <a href="https://www.canva.com/help/print-color-profile/" target="_blank" rel="noopener">Canva's colour profile guide</a> explains the practical implications for design-to-print workflows.
<strong>Output intent</strong> — A PDF's /OutputIntents dictionary entry specifies the intended output device (e.g., ISO Coated v2 for European sheetfed offset printing, FOGRA39 for high-quality publication printing). PDF viewers and print drivers use this to correctly convert colours for the target device. A PDF/A or PDF/X document without an appropriate output intent will have unpredictable colour output.
<strong>Adobe Acrobat's Output Preview</strong> — Tools > Print Production > Output Preview shows a simulated rendering of how the PDF will look on the specified output device, including gamut warnings for out-of-gamut colours that cannot be accurately reproduced on the target device.
Frequently asked questions
What is the difference between RGB and CMYK in a PDF?
RGB (DeviceRGB) is an additive colour model for screens, covering a wider gamut than printing. CMYK (DeviceCMYK) is a subtractive model for printing, using ink amounts. A PDF with RGB colour will have its colours converted to CMYK during printing, which can shift colours — particularly saturated blues and purples that are in the RGB gamut but outside CMYK. For accurate print reproduction, use a PDF with CMYK colour and an embedded ICC profile defining the specific press and paper characteristics.
Why do my PDF colours look different when printed vs on screen?
The most common causes: (1) DeviceRGB colours designed for screen are being converted to CMYK for printing, shifting out-of-gamut colours; (2) the printer is not colour-calibrated and is not using the PDF's embedded ICC profile; (3) the paper stock absorbs ink differently than expected. For accurate results: design in CMYK using the target press ICC profile, embed the ICC profile in the PDF, deliver as a PDF/X-compliant file, and ask the print provider to use their RIP with colour management enabled.
What is an ICC profile in a PDF?
An ICC colour profile (International Colour Consortium) is a file embedded in a PDF that defines the exact colour characteristics of an input or output device — such as a specific monitor, scanner, or printing press. When a PDF viewer or RIP reads the ICC profile, it can accurately convert the document's colours to match the target output device, ensuring consistent colour reproduction across different devices.
Does PDF/A require embedded ICC profiles?
Yes. PDF/A-1 and PDF/A-2 require that all colour spaces are device-independent with embedded ICC profiles, or that the document has an output intent (/OutputIntents) specifying the target colour characterisation. DeviceRGB/CMYK without a corresponding output intent or ICCBased colour space is not permitted in PDF/A. This ensures that archived PDFs will reproduce the intended colours faithfully when rendered on future systems.