The best filament and colors for a 3D printed QR code

Material and color combination decide whether your QR code scans on the first try. Here's what works and what to avoid.

By Ángel Miguel Olortiga Ríos · Updated November 4, 2026

PLA, PETG or TPU

MaterialProsUse it for
PLAEasy, cheap, huge color range, great detailStands, plaques, keychains, cards
PETGWater, moderate heat and impact resistantCoasters, outdoor signs, everyday keychains
TPUFlexiblePet or backpack tags (taller relief)

For most projects, matte PLA is the best choice: no glare, easy to print and excellent detail. If the piece will get wet or sit in the sun, switch to PETG.

Matte beats silk

Silk or glossy filaments look great but reflect light, and the camera sees white spots on dark modules. Always use a matte finish for the code relief. The base can be satin.

Color combinations that work

BaseReliefContrastResult
WhiteBlack≈ 15:1Excellent
YellowBlack≈ 11:1Excellent, very visible
BeigeBrown≈ 6:1Good, warm
WhiteNavy≈ 13:1Excellent, elegant
WhiteRed≈ 5:1Good in decent light
GrayBlack≈ 5:1Borderline
RedOrange≈ 1.8:1Won't scan

QRelieve computes the contrast of the two colors you pick and warns you if it's too low, so you can try your brand colors without printing.

Useful accessories

As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Using your brand colors without losing contrast

If your brand is red or green, you don't have to give it up: use the brand color for the text and border and keep the maximum-contrast pair for the code. Or use your dark brand color for the relief on a white base: nearly any dark blue, green or purple works. What doesn't work is pairing two shades of the same intensity, even if they're different hues.

How much filament each object uses

ObjectApprox. weightApprox. material cost
Keychain6–8 g$0.15
Business card10–12 g$0.25
Fridge magnet12–18 g$0.35
Coaster25–35 g$0.70
Wifi plaque40–60 g$1.20
Table stand40–60 g$1.20

Indicative values with PLA at about $20 per kilo and 15% infill. The second-color relief only uses 1–3 g, so one dark spool lasts for hundreds of codes.

Look after your filament

Try colors in the tool →

Keep reading