A color mark sensor and a magnetic sensor solve different problems on the same line, and confusing them costs hours of commissioning and bad parts. The mark sensor is an optoelectronic device that distinguishes a printed registration mark from the surrounding web by reflected light intensity or RGB color ratio; the magnetic sensor is a contactless transducer that responds to a magnetic field from a permanent magnet or ferrous target.
Both families now ship in compact M12/M18 cylindrical or block housings with PNP/NPN push-pull outputs, run on 10–30 V DC, and tolerate typical industrial temperatures, but their physics, target type, and failure modes diverge sharply.
Operating Principle and Target Type
Color mark sensors use a red, green, or white LED emitter plus a photodiode or RGB photodiode receiver; the receiver interprets reflected light against an operator-set threshold or against an internally learned RGB ratio. Zhejiang Aotoro Electric lists its EB20-Mark Sensor at a 2 kHz response rate with selectable red or green emitter lamps and a coaxial optical path that "detects the mark more stable" against textured backgrounds [S3]. The Heyi Eb-S11 color mark sensor shown on Made-in-China also uses a red/green selectable emitter with sensitivity adjustment for fine registration tuning [S5].
Magnetic sensors rely on Hall, AMR, GMR, or TMR elements that change output with flux density; they detect permanent magnets or soft-iron targets and ignore optical properties entirely. A SENIS FAMAS three-axis angle sensor, for instance, integrates Hall elements with a closed-loop signal processor to convert an in-plane magnetic field angle into a digital position value [S4]. For reference context on the magnetic material side, neodymium (NdFeB) and samarium-cobalt (SmCo) targets are typical bias sources, with ferrite common in lower-cost applications.
Decision Criteria: Response, Range, Mounting
Response speed is where mark sensors win on converting and label lines: the EB20's 2 kHz rating means a 500 µs detection window, fast enough to read 5 mm marks on webs travelling above 2 m/s with a sub-millisecond encoder trigger [S3]. Magnetic proximity switches typically switch in the 1–10 kHz range as well, but mark sensors carry a tighter contrast-discrimination spec tied to the RGB channel rather than to a single flux threshold.
Sensing distance separates the two physically. Color mark sensors work at 5–15 mm focal distance from the web, usually needing a clean line of sight; through-beam and coaxial reflective optics both require a stable stand-off. Magnetic proximity switches in M12/M18 housings read 1–10 mm reliably on a ferrous target, and the SENIS FAMAS angle sensor resolves sub-degree rotation at 0.1° typical accuracy with a digital SPI/I²C output [S4]. For wet, dusty, or coated surfaces, see the magnetic level gauge reference for a tank-side analog.
Comparison Map: When to Specify Which

Four criteria line the two families up for sourcing. (1) Target type: mark sensor reads printed color/contrast on paper, film, foil, label stock; magnetic sensor reads magnetized metal or a discrete permanent-magnet flag. (2) Environment: mark sensors fail on transparent, glossy, mirror-finish, or oil-coated webs unless a coaxial optic is used; magnetic sensors shrug off dust, paint, oil, and non-magnetic coatings of several millimetres. (3) Output: both offer PNP/NPN and analog, but color mark sensors commonly add an RS-485 or IO-Link channel for teach-in data, while magnetic angle sensors typically stream 12–16-bit digital position. (4) Mounting: mark sensors need precise 5–15 mm stand-off and a perpendicular axis; magnetic sensors tolerate several millimetres of lateral offset. [S3]
A practical rule: if the registration mark is a printed dot, line, or colored patch on a moving web, specify a color mark sensor with coaxial reflective optics and 2 kHz minimum response [S3]. If the target is a piston ring, gear tooth, float magnet, or shaft-mounted magnet, specify a magnetic sensor or Hall device [S4].
Selection Cautions and Failure Modes
Mark sensors misfire on (a) high-gloss or metallized film that mirrors the emitter away from the photodiode, (b) marks that change color in sunlight or under LED flicker, and (c) low-contrast registrations where the mark/web color delta is below the receiver's resolution. Teach-in via IO-Link or a 4-step potentiometer is the standard remedy; an RGB sensor that learns a reference palette handles wash-on registration patterns where simple red/green thresholding fails. [S1]
Magnetic sensors fail in different ways: external stray fields from welding cables or VFD-driven motors can saturate a Hall element; soft-iron targets with low remanence produce weak signals below the switch threshold; and high-temperature applications above 150 °C need SmCo magnets or Hall ICs rated for the duty. For a procurement-side spec map on related non-destructive testing equipment, see this magnetic particle tester buying guide for 2026 and the color mark sensor buying guide for 2026.
Vendor Landscape and Sourcing Notes

DirectIndustry's RGB color mark sensor category currently indexes 3 industrial manufacturers and 4 products in its directory, a small but stable slice of the global photoelectric-sensor market [S1]. Heyi reports a 2,000,000-piece annual production capacity for its combined sensor lines including the Eb-S11 color mark family, with MOQ starting at one piece on trade platforms [S5]. Zhejiang Aotoro Electric lists 7 color mark sensor variants under one product family alongside its magnetic sensor and Hall sensor lines, which is useful when one vendor is asked to consolidate a BOM [S3].
For NDT and tank-side magnetic use, a magnetic particle tester draws on the same field-physics principles but at much higher field strengths (typically 1,000–3,000 A/m magnetizing current per ASTM E709), well outside the operating envelope of any color mark sensor. For pump-side magnetic applications where containment matters, see the magnetic drive pump reference.
Spec Checklist for the Procurement File
Lock these down before issuing the RFQ. For color mark sensors: emitter color (red/green/white/RGB), response frequency (≥ 2 kHz for label lines), sensing distance, housing size, output type (NPN/PNP/push-pull, IO-Link optional), and IP rating. For magnetic sensors: switch type (Hall, AMR, GMR, TMR), supply voltage, switching frequency, hysteresis, temperature range, and output interface (digital, analog, IO-Link). [S3]
Cross-check the application against any hazardous-area requirement: if the line runs inside Zone 1 or Zone 2, both sensor families need ATEX/IECEx-certified variants with Ex d, Ex e, or Ex i protection, and cable entries must follow the same zone mapping and Ex d vs Ex e vs Ex i rules that govern motors and junction boxes. The general explosion-proof electrical equipment trade-off and the 10-year TCO stack for explosion-proof installations both apply when sensors land in classified areas.
One trackable signal: confirm whether the line builder specifies IO-Link on the mark sensor so teach-in parameters (threshold, RGB ratio, response time) are readable from the PLC instead of being locked behind a teach pushbutton. A second signal: when a vendor quotes a "color sensor" without stating the emitter wavelength (typical red 660 nm, green 520–530 nm), ask for the RGB channel matrix — without it, you cannot compare A/B units on a controlled test rig [S3][S5].