Skip to content
Business & Regional

Using Brand Colours in QR Codes: Safe Palettes and What to Avoid

Codexengr, QR Systems Engineer
Published 2027-02-24 (Updated 2026-10-05)
5 min read
Peer Reviewed & Fact Checked

The Brand Colour Challenge

Most brand guidelines were not written with QR code generation in mind. They specify a primary, secondary, and accent colour — none of which may be appropriate for QR module colouring without modification.

Understanding your brand palette's luminance values is the first step to creating a QR code that is both on-brand and scannable.

Mapping Palette to QR Roles

| Brand Colour Role | QR Code Role | Condition | |---|---|---| | Primary (if dark) | Module foreground | Must be darkest available colour | | Secondary (if light) | Module background | Must provide 4:1+ contrast with foreground | | Accent | Frame border / CTA text | Outside the QR matrix — unrestricted | | White/off-white space | Module background | Usually the safest choice |

Worked Examples by Brand Archetype

Dark blue brand (e.g., financial services): - Primary: #0D47A1 (dark blue) → safe as foreground against white (12.5:1 contrast) - White #FFFFFF → background - Accent gold #FFD600 → frame text only

Green brand (e.g., sustainability/food): - Primary: #1B5E20 (dark green) → safe as foreground (11.6:1) - Pale green #F1F8E9 → background - White with green frame border → clean and on-brand

Red brand (e.g., food/retail): - Primary red varies widely. #B71C1C (dark red) works (7.8:1). #F44336 (medium red) is marginal (4.5:1 against white) — use Level H error correction. - Avoid bright red (#FF0000) — only 4.0:1 at the boundary.

Yellow/orange brand (e.g., energy/consumer): - Yellow (#FFEB3B) as foreground against white = 1.1:1. Never usable as foreground. - Solution: Use dark charcoal (#212121) or dark brand navy as module colour, with yellow as frame background or CTA highlight.

Creating a Style-Consistent QR Without Compromising Contrast

1. Start with your darkest brand colour as the foreground 2. Use white or your lightest background as the module background 3. Apply brand colour to the surrounding frame/label design — not the modules 4. Add your logo in the centre using Level H error correction 5. Scan test on three devices

This approach consistently produces QR codes that are recognisably on-brand while maintaining scan reliability.

When to Request a Brand Guideline Update

If your brand's entire palette is mid-tones or pastels, the QR code simply cannot use those colours for module foreground without failure. The correct action: document the constraint in your brand guidelines with a note that "QR code applications use [dark colour] foreground on white background per scan reliability requirements." This is a normal brand extension rule — like how logo colours change on dark backgrounds.

Putting this into practice

Start with the smallest real test you can run. Generate the code, print it at the exact size you plan to use, and scan it with two different phones in the lighting where it will live. Check that the destination page loads quickly on a mobile connection and that the call to action next to the code tells people what they will get. If anything feels slow or unclear, fix it before you print a full batch, because reprints cost more than a short test. Keep a note of the size, material, and placement that worked so the next batch starts from a proven setup.

Common mistakes to avoid

The most common mistakes are easy to avoid once you know them. Long payloads make modules tiny, low contrast makes edges hard to read, and text placed too close to the border eats the quiet zone the scanner needs. Covering a corner finder pattern with a logo or a sticker breaks detection entirely, and a code placed behind glare or on a curved surface fails even when the print is perfect. Review each of these points on a proof copy, and treat any failure as a reason to adjust the design rather than a reason to blame the scanner.

Quick checklist

- Keep the payload as short as practical so modules stay large. - Keep dark modules on a light background with strong contrast. - Leave a clear quiet zone on all four sides of the symbol. - Test the printed code at the real viewing distance and lighting. - Confirm the destination page loads fast on a phone. - Recheck the code after any change to the link, design, or placement.

Related tools and guides

- For local payments, the [Pakistan payment QR](/pakistan-payment-qr) page explains the regional flow and what customers see. - The [regional payment QR](/regional-payment-qr) guide covers payment codes used across different markets. - Run unfamiliar destinations through the [QR safety checker](/qr-safety-checker) before you share a code widely. - The [bulk generator](/bulk-generator) builds many codes from a table when one-off generation would take too long. - Test every code with the [QR scanner](/qr-scanner) on more than one phone before you publish or print it. - The [UTM builder](/utm-builder) adds campaign parameters so scans show up separately in your analytics.

Frequently Asked Questions

Our brand uses only pastel colours. How can we make a branded QR code?

If your entire palette is light or pastel, none of those colours can safely be used as QR module foreground. Instead, apply brand colours to the surrounding frame, background wash, or call-to-action text. Use dark neutral — near-black or dark charcoal — for the modules themselves, and include your logo in the centre with Level H error correction.

Can we use a gradient background behind the QR code modules?

A gradient on the outer background (behind the entire QR including quiet zone) is fine if the area directly under the modules maintains consistent contrast. A gradient that passes through the module area from light to dark is risky — the scan threshold varies across the code. Apply gradients to the surrounding design, not the QR matrix background.

How do we ensure our branded QR code looks the same across different printers?

Specify colours in CMYK for print rather than RGB hex, and provide a minimum contrast specification to your print supplier. Request a physical proof before bulk printing. Screen-to-print colour shift is common — verify the printed foreground still appears significantly darker than the background under typical room lighting.

Ready to generate high-precision QR codes?

Test your designs in real-time with our 100% client-side QR studio suite. Zero tracking, instant vector downloads.

Open QR Code Studio