QR codes don't have to be boring black-and-white squares. With modern QR code generators, you can add colors, logos, and custom shapes — but there's a catch: if you push the design too far, the code stops scanning. The tension between aesthetics and functionality is the single biggest challenge in QR code design. Here are 10 tips to keep your QR codes both beautiful and functional.
Every tip below is based on real-world testing across iPhone (iOS 17+), Android (Google Pixel), and Samsung devices. When we say "it works," we mean it scans reliably on all three.
1. Always use high error correction
When you customize a QR code — especially with a logo in the center — you're covering up part of the data. Error correction level H (30%) allows the code to still scan even if up to 30% of it is obscured. This is the single most important setting for custom designs.
What error correction level should you choose?
QR codes have four error correction levels: L (7%), M (15%), Q (25%), and H (30%). The higher the level, the more data is redundant — meaning more of the code can be damaged or covered while still scanning. But higher levels also increase the density of the code, making it slightly harder to scan at small sizes.
- Level L (7%): Use only for plain black-and-white codes with no customization
- Level M (15%): Good for minor color changes, no logo
- Level Q (25%): Acceptable for small logos or subtle designs
- Level H (30%): Required for logos, custom colors, and any creative design
If you're adding a logo to the center of your QR code, you must use level H. Anything less and you risk scan failures on older devices.
2. Maintain high contrast
Your foreground (the QR modules) should be dark and your background should be light. The higher the contrast, the more reliably scanners can read the code. A dark foreground on a white or very light background is the gold standard.
Contrast ratios that work
The WCAG accessibility guidelines suggest a minimum contrast ratio of 4.5:1 for text. QR codes are more demanding — aim for at least 7:1. You can check your colors with any online contrast checker.
- Black on white: ~21:1 — perfect
- Dark navy on white: ~16:1 — excellent
- Dark green on light cream: ~12:1 — very good
- Medium gray on white: ~5:1 — risky, test thoroughly
- Yellow on white: ~1.5:1 — will not scan
Avoid using similar tones for foreground and background — e.g., dark blue on dark purple. Even if it looks stylish, scanners will struggle.
3. Keep the logo under 30% of the area
A logo in the center of a QR code is a great branding touch, but it should never cover more than 30% of the total QR code area. Any larger and you risk losing too much data — even with error correction H.
The 30% rule isn't a suggestion — it's the physical limit of error correction level H. Go beyond it and you're not designing a QR code anymore, you're designing a decoration that doesn't scan.
How to calculate logo size
If your QR code is 200x200 pixels, the logo should be no larger than 60x60 pixels. A simple way to check: measure the logo's width as a percentage of the QR code's width. If it's under 30%, you're safe.
- Generate your QR code at the desired size
- Measure the total width in pixels
- Calculate 30% of that width
- Resize your logo to fit within that dimension
- Center the logo and test on multiple devices
4. Don't invert colors
A white QR code on a black background (inverted) might look sleek, but many scanners can't read it. The standard is dark modules on a light background. If you need a dark theme, use a dark-but-not-black foreground on a medium-light background.
Some modern phones can read inverted QR codes, but adoption is not universal. Don't risk it — stick to the standard dark-on-light pattern.
5. Leave a quiet zone
The "quiet zone" is the blank margin around the QR code. It should be at least 4 modules wide (the size of 4 small squares). Without it, scanners can't distinguish the QR code from surrounding design elements.
Common quiet zone mistakes
- Placing text directly adjacent to the QR code
- Using a border that's too thin (less than 4 modules)
- Embedding the QR code inside a busy background pattern
- Forgetting that the quiet zone needs to be light, not dark
6. Use SVG for print
When printing QR codes on business cards, flyers, or packaging, always use SVG format. Unlike PNG, SVG scales infinitely without pixelation, ensuring crisp edges at any size.
- SVG: Best for print — infinite scaling, crisp at any size
- PNG (high-res, 1024px+): Good for digital displays and screen sharing
- PNG (low-res): Avoid — pixelation can cause scan failures
7. Test on multiple devices
Always test your custom QR code with at least 3 different phones — both iPhone and Android. Different scanner apps have different tolerances for custom designs. If it scans on all three, you're good to go.
- Test with an iPhone (uses the native Camera app)
- Test with a Google Pixel (uses Google Lens)
- Test with a Samsung device (uses the native scanner)
- Try from different distances: close, arm's length, and 1 meter
- Try in different lighting: indoor, outdoor, and low light
8. Avoid rounded module corners
Some generators offer "rounded" QR modules for a softer look. While subtle rounding is usually fine, heavy rounding can reduce scannability. Stick to sharp or very slightly rounded corners.
9. Don't stretch or distort
A QR code must remain a perfect square. Stretching it into a rectangle — even slightly — will break the scanning pattern. Always maintain a 1:1 aspect ratio.
This also applies to CSS: never use width and height that differ. Always set both to the same value, or use aspect-ratio: 1 / 1.
10. Keep it simple
The best custom QR codes are subtle: a brand color for the foreground, a small logo in the center, and clean spacing. You don't need gradients, patterns, or artistic effects. Simplicity scans better and looks more professional.
A QR code is a tool, not a canvas. Its job is to be scanned — every design decision should serve that goal first.
Ready to design your own? Try our Custom QR Code Designs tool with built-in error correction and logo support.
The conversion advantage
QR codes on packaging convert at significantly higher rates than digital ads because the customer already has a relationship with the brand:
Why packaging converts better
- Brand affinity: Customer already chose your product — high trust
- Physical context: Holding the product creates a tangible connection
- Zero friction: QR code is right there — no searching needed
- Immediate value: The destination enhances the product they just bought
- No competition: Unlike digital ads, there are no competing distractions
Incentive strategies
The right incentive dramatically increases engagement from packaging QR codes:
- "Download the app for 20% off your next purchase" — discount incentive
- "Get the app to earn double points on this purchase" — rewards incentive
- "Scan for setup instructions and tutorials" — utility incentive
- "Get the app to register your product for warranty" — service incentive
- "Scan to unlock exclusive content" — content incentive
Placement on packaging
Where you place the QR code on the packaging affects scan and conversion rates:
- Front of package: Maximum visibility — best for awareness
- Back of package: More space for call-to-action text
- Inside the box: Good for setup content — discovered during unboxing
- On the product itself: Good for durable goods (QR code etched on device)
- On an insert card: Dedicated card with benefits and QR code
What to include with the QR code
- A clear call-to-action: "Scan to follow us" or "Scan to download"
- The incentive: "Get 20% off your next order"
- Platform badges: Show availability on iOS and Android if applicable
- Star rating: "4.8 stars" — social proof builds trust
- Brand logo: Visual recognition and trust
Measuring packaging QR code ROI
- Track scans and conversions attributed to the packaging QR code
- Measure retention: Do packaging-acquired users retain better?
- Track subsequent purchases from packaging-acquired customers
- Compare cost per acquisition vs digital advertising
- A/B test different incentives and placements
Digital ads ask strangers to engage. Packaging QR codes ask customers. The conversion difference is massive — because trust is already established.
QRKit's URL QR Code Generator creates QR codes for free — perfect for product packaging campaigns.