Designing QR codes in your brand colors
How to use brand colors, logos and module shapes in a QR code without breaking it: contrast ratios, light and dark, print colors and a checklist.
Why brand colors are worth the effort
A black-and-white QR code works everywhere, but it can look like an afterthought on a carefully designed menu, label or poster. A code in your own colors, perhaps with your logo in the middle, looks like part of the design, and people are more likely to trust that it belongs to you.
The catch is that a QR code is read by a camera, not by a person. Every design choice either helps the camera or makes its job harder. The good news is that the rules are few and easy to check, so you can use your brand colors in almost every case, as long as you know which shade to pick.
Contrast is what the camera sees
A scanner turns the image into light and dark and looks for the pattern. What matters is not whether two colors look different, but how different they are in brightness. Red and green look completely different to most people, yet a medium red and a medium green can be almost equally bright, and a camera barely separates them.
The usual way to measure this is the contrast ratio used for text on websites, from 1 to 1 for identical colors to 21 to 1 for black on white. The scan check next to the preview calculates it for your code and background colors. Below 3 to 1, it says the code may not scan and suggests making it darker. Between 3 and 7 to 1, it says the code scans, but contrast is low. From 7 to 1 up, it rates the colors as fine.
Some examples on a white background: pure red, #FF0000, reaches 4 to 1, so it scans on many phones but has little margin. A bright orange such as #FF6600 stays under 3 to 1, and a sunny yellow is around 1.5 to 1, which is too pale to work. A deep cobalt blue such as #1F3FAF reaches almost 9 to 1 and is comfortably in the safe range. Most brands have a darker shade in their palette that works well, even when the main color doesn't.
Dark code, light background
Keep the code darker than its background. Codes with light modules on a dark background, called inverted codes, are allowed by the QR code standard and many current phones read them, but some camera apps and older readers don't. The scan check flags this with “Light on dark scans on fewer phones”.
If your brand uses a dark background, such as navy packaging or a black poster, put the code on a light area within it: a white or cream panel with the dark code on top. The background color option of the generator sets the color of that panel, including the quiet zone around the code, so the downloaded file already contains it.
Picking the right shade
Under Colors, choose a code color and a background color. The presets include dark code colors such as Ink, Cobalt and Wine, and light backgrounds such as White, Cream and Mist; not every pairing scans equally well, so keep an eye on the check as you switch. With Custom you can pick any color or type the hex value from your brand guidelines, for example #7A1E3E.
If your main brand color is flagged as low contrast, try a darker version of it rather than giving it up. Lower the lightness a step at a time and watch the contrast number under the preview climb. A burnt orange such as #B34700 already reaches about 5.5 to 1 on white, and a darker shade such as #8F3900 passes 7 to 1, while still reading clearly as orange next to your logo. Background colors work the other way round: a light tint of your brand color, such as a pale cream or a soft grey-green, keeps the code readable while looking less stark than pure white.
Screen colors and print colors
The colors you see on screen are mixed from light; printed colors are mixed from ink. The downloaded SVG and PDF use the hex values you chose, and the printer converts them to its ink colors. Bright, saturated screen colors often come out duller in print, and dark colors on uncoated paper can look lighter than expected because the paper absorbs ink.
If you work with a designer or a print shop, give them the downloaded vector file and ask them to match the code color to your brand's print color, as long as the result stays clearly dark on a light ground. Always look at a real printed proof before ordering a large run: a contrast that looks fine on a bright monitor can lose some of its margin on paper.
Logo, shapes and corners
You can add a logo to the middle of the code as a PNG, JPG or SVG file of up to 1 MB. The generator clears a square of about a fifth of the code's width for it, sets the area behind the logo to the background color, and switches error correction to H while the logo is shown, so the code can still be read even though part of the pattern is covered. A simple, bold logo mark works better at small sizes than a full logo with fine text.
Under Shape you can choose square, rounded or dot modules, and square or rounded corners for the three large position markers. Rounded modules and corners soften the look without much effect on scanning. Dots are the most decorative but leave the least area per module, so use them for codes that will be printed fairly large and keep square or rounded modules for small prints such as business cards and labels.
Add your own words
Branding is not only color. Under Logo and frame you can add a call to action of up to 32 characters below the code, such as “Scan for the menu” or “Scan to join the Wi-Fi”. It is printed in the code color, so it matches the code and is part of every download. A clear line of text often does more for the number of scans than any color choice.
A checklist before you print
Code color darker than the background. Scan check not showing “May not scan”, and ideally no warning at all. A light panel behind the code on dark designs. A logo that is simple and does not cover the three corner markers. Square or rounded modules for small codes. Vector files (SVG or PDF) for print, scaled with locked proportions and the white border kept.
Then print one copy on the real material and scan it with an iPhone and an Android phone, from the usual distance and in the real light. Save the finished code to your library, so you can open it later and make matching codes for the next menu, label or poster in exactly the same colors.