Color in PDFs lives in a specific color space. RGB is what your monitor shows; CMYK is what printers use; there are several others. The right color space for your PDF depends on where it will end up. Get it wrong and colors shift, sometimes dramatically. This guide walks through the practical distinction.
What RGB and CMYK are
RGB (Red, Green, Blue):
- Additive color model, mixes light
- Display-native (monitors, projectors, phones)
- Wider color gamut than CMYK for many colors
- Used in: digital displays, web, screen-only PDFs
CMYK (Cyan, Magenta, Yellow, Key/Black):
- Subtractive color model, mixes inks
- Print-native (offset, digital print presses)
- More limited gamut than RGB for many bright colors
- Used in: commercial print, photo prints, magazines
The same color (e.g., a specific bright cyan) may be reproducible in one but not the other.
Why this matters in PDF
A PDF document destined for print needs colors in CMYK so the press can print them. A PDF destined for screen viewing needs colors in RGB for accurate display.
A mismatch produces unexpected results:
- RGB PDF printed on a CMYK press, vibrant blues may print as muddy purples
- CMYK PDF displayed on RGB monitor, colors may look slightly off
- Mixed CMYK/RGB PDF, inconsistent rendering
For documents that will live both on screen and in print, careful color management bridges the gap.
Other color spaces in PDF
PDFs support more than just RGB and CMYK:
- Grayscale, single channel, black to white
- DeviceN, multi-channel for specialized inks
- Pantone (Spot color), premixed inks for exact color matching
- Lab, device-independent color
- ICC-based, color spaces defined by ICC profiles
For most PDFs, RGB or CMYK is the right choice. The others matter in specific industries.
Color profiles
A specific RGB or CMYK is meaningless without context, "RGB" can mean sRGB, Adobe RGB, ProPhoto RGB, or others. ICC profiles specify exactly which RGB or CMYK:
- sRGB, the web/screen standard; the safest RGB choice
- Adobe RGB (1998), wider gamut, used in photography
- ProPhoto RGB, very wide gamut for digital photo workflows
- Display P3, modern wide gamut (Apple devices, modern monitors)
CMYK profiles vary by press:
- U.S. Web Coated (SWOP), common US offset
- Coated FOGRA39, common European offset
- Uncoated FOGRA52, uncoated stock
- Japan Color 2001, Japanese standard
For accurate color, the profile must match the destination.
Setting color spaces in authoring tools
Adobe InDesign: Set document color space at creation. Edit → Color Settings for working color spaces. Export to PDF with specific color profile.
Affinity Publisher: Similar workflow with color management.
Microsoft Word: Limited control; usually RGB. For print, export then convert in a CMYK tool.
LibreOffice: Similar to Word; primarily RGB.
LaTeX: Use pdfx or colorprofiles packages for color profile management.
Programmatic: Most libraries support color space selection; specify explicitly.
Converting between color spaces
To convert RGB to CMYK or vice versa:
Adobe Acrobat Pro: Tools → Print Production → Convert Colors. Specify target color profile.
Ghostscript:
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
-sColorConversionStrategy=CMYK \
-dProcessColorModel=/DeviceCMYK \
-sOutputFile=cmyk.pdf input.pdf
For more, see Ghostscript introduction.
Adobe Photoshop / Illustrator for image-side conversions before PDF generation.
Specific PDF/X profiles
PDF/X variants specify color requirements:
- PDF/X-1a, CMYK and spot colors only, no RGB
- PDF/X-3, allows ICC-tagged RGB and Lab
- PDF/X-4, same plus transparency
For commercial print, PDF/X-4 with CMYK plus optional spots is the modern norm.
Conversion pitfalls
Color conversion is lossy:
- Out-of-gamut colors get clipped to the nearest in-gamut color
- Bright RGB blues and greens especially shift when converted to CMYK
- Photographs generally convert smoothly; vector solids more dramatically
- Reversed conversion (CMYK→RGB→CMYK) is not lossless
Convert at the source if possible. Repeated conversions degrade quality.
Spot colors
Spot colors (Pantone Matching System, Toyo, etc.) are premixed inks the press loads. They:
- Provide exact color matching (brand colors)
- Are used in addition to process CMYK
- Can be specified in PDFs as DeviceN color spaces
For brand-critical materials, spot colors are essential. The brand book specifies "Pantone 286 C"; the press loads that specific ink.
PDFs should preserve spot colors explicitly rather than converting them to CMYK approximations.
Color management workflow
A proper color-managed workflow:
- Author in a calibrated environment with known monitors
- Use a consistent working color space (sRGB for screen; Adobe RGB or similar for print)
- Tag images with their color profiles
- Generate PDFs with embedded color profiles
- Convert to target color space late in the process
- Verify on press with proofs
For more, see color management in PDF.
When to use which
Use RGB when:
- PDF will be viewed on screens
- Web distribution
- Email attachments
- Internal documents
- Reports for screen viewing
Use CMYK when:
- PDF will be commercially printed
- Pre-press handoff to a printer
- Magazine and brochure print
- Packaging
Use both (carefully):
- Document distributed both on screen and in print
- Strategy: author in a wide RGB profile, convert to CMYK for the print version, keep RGB for screen
For office documents printed on a typical inkjet or laser, the printer driver handles conversion. You can usually leave color spaces as RGB.
Common gotchas
RGB PDF sent to commercial press. Press operator converts to CMYK with their settings; colors may shift unexpectedly. Convert beforehand for control.
CMYK PDF in browser viewer. Browser may render colors as RGB approximation; looks slightly off compared to print.
Mixed color spaces. Some images RGB, some CMYK in the same PDF. Causes inconsistent rendering and harder pre-press handling.
Missing ICC profiles. "RGB" without a profile defaults to assumed sRGB; "CMYK" without a profile is more ambiguous.
Color rendering intent. Perceptual, Relative Colorimetric, Saturation, Absolute Colorimetric, different intents produce different results.
Black is not black. In CMYK, "100% K only" vs "rich black" (C+M+Y+K) print differently. Specify intent.
Spot color conversion. Converting Pantone to CMYK uses Pantone Bridge approximations, sometimes acceptable, sometimes not.
Transparency over spot color. Complex transparency interactions with spot colors can render unexpectedly. Test pre-press.
Verification
To verify color space in a PDF:
- Acrobat Pro: Tools → Print Production → Output Preview. Shows actual color separations and color space.
pdfimages -list file.pdflists images and their color spaces.- callas pdfToolbox for thorough color profile validation.
For pre-press, output preview is essential.
Browser-based color conversion
For one-off color conversion: Docento.app and similar tools support common color space changes for typical office use. For commercial pre-press, dedicated tools (Acrobat Pro, callas pdfToolbox, color management software) are required.
Practical recipe
For a screen-only document:
- Use RGB (sRGB)
- Embed sRGB profile if accurate display matters
For a print document:
- Convert to CMYK with appropriate profile (SWOP, FOGRA39, etc.)
- Use PDF/X-4 for commercial print
- Preserve spot colors
For a dual-use document:
- Author in RGB
- Maintain a CMYK version for print release
- Test both visually
Takeaway
CMYK vs RGB in PDFs is a question of destination: screen prefers RGB, commercial print prefers CMYK. ICC profiles specify exactly which RGB or CMYK. Conversion between is lossy and best done deliberately. For most office PDFs, RGB is fine; for pre-press, CMYK is mandatory. For browser-based PDF operations alongside color work, Docento.app handles common tasks. For related topics, see color management in PDF and PDF/X print format explained.