How to make a QR code that always scans

Use a dark code on a light background with strong contrast, leave a 4-module quiet zone around it, keep any logo between 12 and 30% of the code's width, and print it big enough for the scan distance. Then test the real printed code on more than one phone before you print in bulk.

Updated

Contrast: dark on light

Scanners look for the difference between dark and light modules, so contrast matters more than colour. Scandalous measures the contrast ratio between your foreground and background (the same formula used for text accessibility) as you pick colours:

Contrast ratioWhat Scandalous does
Below 3:1Blocks the colours, as too close to scan
3:1 to 4.5:1Warns that some phones may struggle in poor light
4.5:1 and aboveNo warning
Light code on a dark backgroundWarns, as some camera apps can't read it

The default, near-black on white, is about 19:1. Dark brand colours like navy, forest green or burgundy work well on white. Yellow, light grey and pastels usually don't. If you use a transparent background, make sure whatever's behind the code is light and plain.

Leave the quiet zone

Keep a plain, light border at least 4 modules wide around the code. It tells scanners where the code ends. Scandalous adds 4 by default and lets you choose 0 to 8. Go wider if the code sits on a patterned or dark surface.

Keep logos in proportion

A logo can be 12 to 30% of the code's width in Scandalous, with 22% as the default. Error correction is set to H automatically, and the modules behind the logo are cleared with a one-module gap so it doesn't merge with the pattern. Every code is checked with a QR reader before it's saved, and if it doesn't scan you'll be asked to try a smaller logo, more contrast or a larger margin.

Size it for the distance and keep the content short

  • Make the code at least 2 cm wide, and at least a tenth of the scan distance. Our QR code size guide has a table for common placements.
  • Shorter content means fewer, bigger modules. Drop tracking parameters you don't need.
  • Stick with error correction M unless you add a logo or expect wear. See error correction levels.

Style it safely

  • Rounded or dot modules and rounded or circular corner squares scan fine with good contrast.
  • Keep the three large corner squares visible. Never put text or graphics over them.
  • Don't stretch or skew the code. Rotating it is fine.
  • Avoid placing it over a busy photo. Put a plain panel behind it instead.

Print it well

  • Use an SVG for print so edges stay crisp at any size.
  • Matte finishes avoid glare. Gloss, laminate and glass can reflect light straight into the camera.
  • Avoid tight curves, like small bottles, for small codes. The code bends away from the camera.
  • Put it where people can stand still and reach comfortably, not too high and not on something moving.

Test before you print in bulk

  1. Print a proof

    Print one copy at the real size, on the real material.

  2. Scan with different phones

    Try at least one iPhone and one Android phone, using the built-in camera apps.

  3. Recreate real conditions

    Scan from the real distance and angle, in the light where the code will be.

  4. Check the destination

    Make sure the link opens properly on a phone, on mobile data as well as Wi-Fi.

  5. Retest after changes

    Any change to colours, size, logo or content means a new test.

Common questions

Why won't my QR code scan?
The usual causes are low contrast, a missing quiet zone, a code that's too small for the distance, too much data, glare or a logo that's too big. Fix whichever applies and test again.
Do coloured QR codes work?
Yes, as long as the code is clearly darker than its background. Scandalous blocks colour pairs below 3:1 contrast and warns below 4.5:1.
Do white QR codes on a dark background work?
Many phones read them, but some camera apps don't. If you need one, test it on several phones, or put a light panel with a dark code on your dark design instead.

Make one with Scandalous

Standard codes are free and never expire.

your first code is free.

sign up with your email and start making codes. add a logo or ai art whenever you need it.

get in, it's free