How to find your paint code

Are Paint Codes Universal? How to Find Yours on Any Brand

The color name isn't enough. The code is what gets you the exact same color when you need to repaint.

by the kept team 5 min read last updated June 2026
Quick answer Paint codes are not universal across brands. Sherwin-Williams SW 7008 and Benjamin Moore OC-17 are different formulas even if the color looks similar. To find your exact paint code, check the lid of any leftover can, the original receipt, or ask the store to look up your customer history. If none of those work, take a clean paint chip to a store for a paint color match (spectro match).

table of contents

  1. What a paint code actually is
  2. Are paint codes universal?
  3. Where to find it on the can
  4. Paint codes by brand
  5. How to read Sherwin-Williams codes
  6. What to do when you don't have the can
  7. How to save your paint codes so you always have them
  8. FAQ

What a paint code actually is

The color name on a paint can, "Agreeable Gray," "White Dove," "Naval," is marketing. The paint code is the formula. It's the alphanumeric identifier that tells the mixing machine exactly how much of each pigment to add.

The distinction matters because color names can change, get discontinued, or get reformulated. The code is what you actually need to remix your exact wall color, even years later.

Think of it like a recipe. The name of the dish tells you what it is. The recipe tells you how to make it.

Are paint codes universal?

No. Every brand runs its own numbering system, and the codes do not translate. SW 7029 means Agreeable Gray at Sherwin-Williams and means nothing at Benjamin Moore. There is no master database that converts one brand's code to another's.

Three things follow from that:

That's why writing down "gray, from Home Depot, 2023" doesn't save you. Record the brand, the full code, and the finish together, or plan on a spectrophotometer match later.

Where to find it on the can

On most paint cans, the code is on the lid, either printed by the manufacturer or added as a custom label sticker by the store when the color was mixed for you.

Look for a combination of letters and numbers. It may be labeled "Color Code," "Formula Number," or just printed alongside the color name with no label at all. On custom-mixed cans, the store often applies a sticker to the rim of the lid with the formula details.

If the lid sticker is missing or illegible, check the side of the can near the bottom. Some brands print the base coat information there, which can help the store reconstruct the formula.

Paint codes by brand

Each major paint brand formats their codes differently. Here's what to look for:

Brand Code format Example Where to find it
Sherwin-Williams SW followed by 4 digits SW 7029 Lid label, or on the swatch card
Benjamin Moore BM or HC followed by numbers, or just a number HC-172 or 2163-40 Lid label or swatch
Behr (Home Depot) Letter + 3 digits + dash + 2 digits N510-4 Store sticker on lid
PPG (Lowe's) PPG followed by numbers PPG1025-3 Store sticker on lid
Valspar 4–6 digit number, sometimes with letter prefix 4003-1B Store sticker on lid

If you're not sure what brand was used, look at the base of the can. The manufacturer name and logo are usually there even if the color label has worn off.

kept
kept stores every paint code, brand, and finish by room
free on any phone, no account needed
try kept

How to read Sherwin-Williams paint codes

For the full label walkthrough, including Benjamin Moore and Behr, see our brand-by-brand paint code decoder.

Sherwin-Williams codes always start with "SW" followed by four digits. SW 7029 is Agreeable Gray. SW 7015 is Repose Gray. SW 6119 is Antique White. The number is the formula: two cans with the same SW code will always mix to the same color, regardless of which Sherwin-Williams store mixes it.

Where to find the code on a Sherwin-Williams can: check the label on the lid. The store prints it when they mix the color. It shows the color name, the SW number, and the finish (flat, eggshell, semi-gloss). If the lid label has worn off, look for a sticker on the side of the can near the bottom.

If you only have the color name but not the can, go to sherwin-williams.com, search the color name, and the SW number is on the product page. You can also bring a dry paint chip to any Sherwin-Williams store and they can scan it with a spectrophotometer and match it.

One thing worth knowing: Sherwin-Williams codes are not interchangeable with other brands. SW 7029 is a Sherwin-Williams formula only. You can't walk into a Home Depot and ask them to mix SW 7029 in Behr paint. What you can do is ask the Behr staff to color-match the chip, and they'll find the closest equivalent in their own formula system.

What to do when you don't have the can

This is the situation most people end up in. The can got thrown out, it dried up, or you moved into a house and have no idea what was used.

Check your records first

Before assuming the code is gone, look in these places:

If the code is truly gone: the paint chip method

Cut a small piece of paint from a hidden area: behind an outlet cover, inside a closet, behind a door. Take it to any paint or hardware store with a spectrophotometer. They'll scan the chip and mix the closest match. This accounts for the wall's age and fade, which actually makes it more accurate than using an old formula on a faded wall anyway.

Shop: paint touch-up supplies on Amazon

Use a color-matching app as a starting point

Apps like Sherwin-Williams ColorSnap or Benjamin Moore Color Portfolio can scan your wall and suggest the closest match in their catalog. They're not precise, lighting throws them off, but they can give you a color name and code to start from, which you can verify with a physical chip.

How to save your paint codes so you always have them

The frustrating part about paint codes is that they're completely findable right now, while you're looking at the can, and completely unfindable three years later when you need them.

The solution is simple: the moment you finish a paint job, save the code. You want to capture:

kept stores all of this for every room in your house. The next time you need to repaint, touch up a scuff, or tell a contractor what color was used, it's there in under 10 seconds.

"the code was on the lid. you should only need it once."

kept saves paint codes by room so your next touch-up order starts with a search, not a scavenger hunt.

[ try kept free ]

frequently asked questions

What is a paint code?

A paint code is the alphanumeric identifier that stores the exact formula for a specific color. For example, Sherwin-Williams Agreeable Gray is SW 7029. Any store that carries that brand can use the code to remix the exact same color.

Where is the paint code on a can?

On most paint cans, the code is on the label on the lid, printed either by the manufacturer or added by the store as a custom sticker when the color was mixed. Look for a combination of letters and numbers. On Sherwin-Williams it starts with SW, Benjamin Moore with BM or HC, Behr with a letter-number combo like N510-4.

Can I find my paint code without the can?

Sometimes. Check old email receipts from the paint store, photos you took of the can, or your contractor's records. If you can't find the code, the next best option is a physical paint chip taken to a store with a spectrophotometer for color matching.

Are paint codes universal between brands?

No. Paint codes are brand-specific formulas. A Sherwin-Williams SW code only works at Sherwin-Williams stores. A Benjamin Moore HC number only works at Benjamin Moore. You can ask any paint store to color-match a chip from another brand, but they'll remix it under their own formula system, not the original code.

What's the difference between a paint code and a color name?

The color name (like Agreeable Gray or White Dove) is the marketing label. The paint code is the formula identifier. You need the code, not just the name, to remix the exact color, because brands occasionally update formulas under the same name.