QR Code Design Best Practices: Contrast, Logos, Error Correction, and Print Sizes
Master the art of creating scannable, branded QR codes. Learn about color contrast, logo placement, error correction levels, and optimal print sizes.
Why QR Code Design Matters
A QR code is only useful if it scans reliably. Poor design choices — low contrast, oversized logos, or tiny print dimensions — can render your code completely unreadable. This guide covers the essential design principles that keep your QR codes both on-brand and functional.
Color Contrast Rules
Color is the single most important factor in QR code scannability. Scanners rely on the difference between dark modules and the light background to decode information.
The Golden Rule: Dark on Light
Always use a dark foreground on a light background. Inverting this relationship (light modules on a dark background) will cause many scanners to fail.
Minimum Contrast Ratios
| Scenario | Minimum Contrast Ratio | Recommendation |
|---|---|---|
| Standard print | 4:1 | Use 7:1 or higher for best results |
| Digital screens | 4.5:1 | Follow WCAG AA standards |
| Outdoor signage | 7:1 | Account for sunlight and glare |
Color Tips
- Black on white remains the most reliable combination across all devices.
- You can use brand colors, but always test with a contrast checker first.
- Avoid gradients across QR modules — they reduce edge definition.
- Never use similar hues for foreground and background (e.g., dark blue on medium blue).
- Keep the quiet zone (the blank border around the code) the same color as the background.
Logo Placement and Sizing
Adding a logo to the center of a QR code is a popular branding technique, but it must be done carefully.
Placement Guidelines
- Always center the logo within the QR code. Off-center logos risk obscuring alignment patterns.
- The logo should sit inside a small, clean rectangular or circular area with a contrasting background.
- Never place a logo over the three large finder patterns (the squares in the corners) or the smaller alignment patterns.
Maximum Logo Size
The logo must not cover more than a certain percentage of the total QR code area, depending on the error correction level:
| Error Correction Level | Max Logo Coverage |
|---|---|
| L (Low — 7%) | Not recommended |
| M (Medium — 15%) | Up to 10% |
| Q (Quartile — 25%) | Up to 15–18% |
| H (High — 30%) | Up to 20–25% |
Best practice: Use error correction level H whenever you embed a logo, and keep the logo under 20% of the QR code area.
Error Correction Levels Explained
QR codes use Reed-Solomon error correction to remain scannable even when parts of the code are damaged or obscured. There are four levels:
Level L — Low (7% Recovery)
- Smallest code size, highest data density.
- Best for digital-only use where damage is unlikely.
- Do not use with logos.
Level M — Medium (15% Recovery)
- The default for most generators.
- Suitable for general-purpose codes without logos.
- Good balance between size and resilience.
Level Q — Quartile (25% Recovery)
- Recommended for codes that may experience moderate wear, such as packaging.
- Can tolerate small logos if carefully placed.
Level H — High (30% Recovery)
- Maximum resilience — up to 30% of the code can be damaged.
- Required when embedding logos or design elements.
- Produces the largest code, so plan your print dimensions accordingly.
Minimum Print Sizes
A QR code must be large enough for camera sensors to resolve individual modules. The required size depends on the scanning distance.
Size by Scanning Distance
| Scanning Distance | Minimum QR Code Size | Typical Use Case |
|---|---|---|
| 10 cm (4 in) | 2 × 2 cm (0.8 × 0.8 in) | Business cards, labels |
| 30 cm (12 in) | 3 × 3 cm (1.2 × 1.2 in) | Flyers, menus, packaging |
| 1 m (3 ft) | 10 × 10 cm (4 × 4 in) | Posters, point-of-sale |
| 3 m (10 ft) | 30 × 30 cm (12 × 12 in) | Banners, storefronts |
| 10 m (33 ft) | 1 × 1 m (3.3 × 3.3 ft) | Billboards, building signage |
The 10:1 Rule
A quick formula: the QR code size should be at least 1/10th of the expected scanning distance. If users will scan from 2 meters away, the code should be at least 20 cm wide.
Print Resolution
- Export QR codes as vector files (SVG or PDF, available on the Premium plan) whenever possible to avoid pixelation at any size.
- If using raster images, ensure a minimum of 300 DPI for print.
- Each module should be at least 4 × 4 pixels at the final output resolution.
Testing Across Devices
Never publish a QR code without testing it first. Scanner behavior varies significantly across devices.
Testing Checklist
- Test with at least 3 different devices — a recent iPhone, a recent Android phone, and an older model.
- Scan from the minimum expected distance and from twice that distance.
- Test under different lighting conditions: bright daylight, indoor fluorescent, and low light.
- Verify the destination URL loads correctly and is mobile-optimized.
- If printed, test with the actual printed material, not just the screen version.
Common Mistakes to Avoid
Here are the most frequent QR code design errors and how to prevent them:
- Inverted colors — Light modules on a dark background. Always keep dark on light.
- Insufficient quiet zone — The blank border must be at least 4 modules wide on all sides.
- Too much data — More data means more modules, which means a denser code. Use short URLs or link shorteners.
- Low resolution exports — Blurry modules cannot be scanned. Always export in vector format.
- Logo covering finder patterns — The three corner squares are critical for orientation. Never obstruct them.
- No testing — Every code should be scanned on multiple devices before going to production.
- Dynamic content without monitoring — If your QR code points to a dynamic URL, monitor it regularly to ensure it stays active.
Quick Reference Checklist
Before finalizing any QR code, run through this checklist:
- Dark foreground on light background with contrast ratio above 4:1
- Quiet zone of at least 4 modules on every side
- Error correction level H if a logo is embedded
- Logo covers less than 20% of the QR area
- Print size follows the 10:1 distance rule
- Exported as SVG/PDF (Premium) for print or high-resolution PNG for digital
- Tested on 3+ devices under varying conditions
- Destination URL is live, correct, and mobile-friendly
Designing a QR code is a balance between brand expression and technical reliability. Follow these best practices, and your codes will scan perfectly every time.