The formulated ternary nanoagent DXBTZ-CB[8]/CSA not only maintains the unique spectral characteristics and excellent optoacoustic performance, similar to the binary supramolecular complex DXBTZ-CB[8], but also can efficiently target and accumulate in tumor cells or diseased cells with CD44 overexpression. Here, CD44 is linked to neoplasm.