Reference illustration — will be replaced with a real photo.
A garment can be perfectly sewn and still get rejected over colour alone. Before a factory dyes thousands of metres of fabric, it first has to prove — on a small scale — that it can hit the buyer's exact shade.
That proof is called a lab dip: a small, dyed fabric swatch matched against the buyer's colour standard (a Pantone reference, a physical swatch, or an approved sample) and checked under standard lighting before bulk dyeing is allowed to start.
Colorfastness is tested separately from shade matching — a colour can look exactly right and still fail if it doesn't hold up to normal use. The main checks are:
Does the colour bleed, fade, or stain other garments after washing?
Does colour transfer onto skin or other fabric when rubbed, wet or dry?
Does the colour fade after extended exposure to sunlight?
The exact tolerance for a shade match, and the minimum acceptable colorfastness rating, is agreed between buyer and factory per order — it varies by product type and end use, so there isn't one number that fits every garment.