Dyes of formula wherein D a radical of formula (1a 1) wherein X 1 is a bivalent radical selected from -N=N-: -CR 8 =N-: -N=CR 8 -: -NR 8 -N=CR 9 -: and -R 8 C=N-NR 9 -; T 1 is a bivalent radical of a substituted or unsubstituted aromatic or heteroaromatic compound; R 4 and R 5 independently from each other are hydrogen; halogen; C 1 -C 16 alkyl, which may be interrupted with heteroatoms; phenyl; a carboxylic acid radical; a sulfonic acid radical; hydroxy; nitrile; C 1 -C 16 alkoxy; (poly)-hydroxy-C 2 -C 4 -alkoxy; halogen; SO 2 NR 6 R 7; SR 6; NR 6 R 7; OR 6; SO 2; COOR 6; NR 6 COR 7; or CONR 6; R 6 and R 7 independently from each other are hydrogen; C 1 -C 12 alkyl, which may be substituted by one or more C 1 -C 5 alkyl, C 1 -C 5 -alkoxy or hydroxyl; - -H; - -C 1 -C 5 alkyl; phenyl or phenyl-C 1 -C 4 alkyl, wherein the phenyl moiety may be substituted by one or more C 1 -C 5 alkyl, C 1 -C 5 alkoxy, halogen, -NH 2, mono-C 1 -C 5 alkylamino, di-C 1 -C 5 alkylamino, -NO 2, carboxy or hydroxy: substituted by one or more C 1 -C 5 alkyl, C 1 -C 5 alkoxy, halogen, -NH 2, mono-C 1 -C 5 alkylamino, di-C 1 -C 5 alkylamino, -NO 2, carboxy or hydroxy R 8 and R 9 independently from each other are hydrogen: C 1 -C 14 alkyl: C 2 -C 14 alkenyl; C 5 -C 10 aryl: C 1 -C 10 alkyl-C 5 -C 10 aryl; or C 5 -C 10 aryl-C 1 -C 10 alkyl; R 10 is hydrogen: C 1 -C 14 alkyl; C 1 -C 14 alkenyl; C 6 -C 10 aryl; C 5 -C 10 aryl-(C 1 -C 10 alkyl); or -C 1 -C 10 alkyl(C 5 -C 10 aryl): and An is an anion: Q is C 1 -C 30 alkylene, -C 2 -C 12 alkenylene, -C 5 -C 10 arylene-, -C 5 -C 10 cycloalkylene- or -C 1 -C 10 alkylene(C 5 -C 10 arylene)- which may be interrupted and/or terminated at one or both ends by one or more than one -O-, -S-, -N=, -N(R 1)-, SO 2, -(CH 2 CH 2 -O) 1-5 -, -(CH 2 CH 2 CH 2 -O) 1-5 -, -C -, -C -C 1 -C 12 alkenylene, -C O-, -OCO-, -CON(R 1)-, -C(NR 1 R 2) 2 -, -(R 1)NC -, -CSR 1 - or an optionally substituted, saturated or unsaturated, fused or non-fused aromatic or nonaromatic (hetero)cyclic) bivalent radical optionally comprising at least one heteroatom; -O-; -S-; -N(R 1)-; SO 2; -(CH 2 CH 2 -O) 1-5 -; -C -; -C -C 1 -C 12 alkenylene; -C O-, -OCO-; -CON(R 1)-; -C(NR 1 R 2) 2 -; -(R 1)NC -; CSR 1; saturated or unsaturated, fused or non-fused aromatic or nonaromatic bivalent radical optionally comprising at least one heteroatom; which is optionally substituted by C 1 -C 30 alkyl, C 1 -C 30 alkoxy, -C 2 -C 12 alkenyl, C 5 -C 10 aryl, C 5 -C 10 cycloalkyl, C 1 -C 10 alkyl(C 5 -C 10 arylene), hydroxy or D +; R 1 and R 2 independently from each other are hydrogen; or unsubstituted or substituted, straight-chain or branched, monocyclic or polycyclic, interrupted or uninterrupted C 1 -C 14 alkyl; C 1 -C 14 hydroxyalkyl; C 1 -C 14 aminoalkyl; C 2 -C 14 alkenyl; C 6 -C 10 aryl; C 6 -C 10 aryl-C 1 -C 10 alkyl; or C 5 -C 10 alkyl(C 5 -C 10 aryl). D a radical of formula (1a 1) wherein X 1 is a bivalent radical selected from -N=N-: -CR 8 =N-: -N=CR 8 -: -NR 8 -N=CR 9 -: and -R 8 C=N-NR 9 -; T 1 is a bivalent radical of a substituted or unsubstituted aromatic or heteroaromatic compound; R 4 and R 5 independently from each other are hydrogen; halogen; C 1 -C 16 alkyl, which may be interrupted with heteroatoms; phenyl; a carboxylic acid radical; a sulfonic acid radical; hydroxy; nitrile; C 1 -C 16 alkoxy; (poly)-hydroxy-C 2 -C 4 -alkoxy; halogen; SO 2 NR 6 R 7; SR 6; NR 6 R 7; OR 6; SO 2; COOR 6; NR 6 COR 7; or CONR 6; R 6 and R 7 independently from each other are hydrogen; C 1 -C 12 alkyl, which may be substituted by one or more C 1 -C 5 alkyl, C 1 -C 5 -alkoxy or hydroxyl; - -H; - -C 1 -C 5 alkyl; phenyl or phenyl-C 1 -C 4 alkyl, wherein the phenyl moiety may be substituted by one or more C 1 -C 5 alkyl, C 1 -C 5 alkoxy, halogen, -NH 2, mono-C 1 -C 5 alkylamino, di-C 1 -C 5 alkylamino, -NO 2, carboxy or hydroxy: substituted by one or more C 1 -C 5 alkyl, C 1 -C 5 alkoxy, halogen, -NH 2, mono-C 1 -C 5 alkylamino, di-C 1 -C 5 alkylamino, -NO 2, carboxy or hydroxy R 8 and R 9 independently from each other are hydrogen: C 1 -C 14 alkyl: C 2 -C 14 alkenyl; C 5 -C 10 aryl: C 1 -C 10 alkyl-C 5 -C 10 aryl; or C 5 -C 10 aryl-C 1 -C 10 alkyl; R 10 is hydrogen: C 1 -C 14 alkyl; C 1 -C 14 alkenyl; C 6 -C 10 aryl; C 5 -C 10 aryl-(C 1 -C 10 alkyl); or -C 1 -C 10 alkyl(C 5 -C 10 aryl): and An is an anion: Q is C 1 -C 30 alkylene, -C 2 -C 12 alkenylene, -C 5 -C 10 arylene-, -C 5 -C 10 cycloalkylene- or -C 1 -C 10 alkylene(C 5 -C 10 arylene)- which may be interrupted and/or terminated at one or both ends by one or more than one -O-, -S-, -N=, -N(R 1)-, SO 2, -(CH 2 CH 2 -O) 1-5 -, -(CH 2 CH 2 CH 2 -O) 1-5 -, -C -, -C -C 1 -C 12 alkenylene, -C O-, -OCO-, -CON(R 1)-, -C(NR 1 R 2) 2 -, -(R 1)NC -, -CSR 1 - or an optionally substituted, saturated or unsaturated, fused or non-fused aromatic or nonaromatic (hetero)cyclic) bivalent radical optionally comprising at least one heteroatom; -O-; -S-; -N(R 1)-; SO 2; -(CH 2 CH 2 -O) 1-5 -; -C -; -C -C 1 -C 12 alkenylene; -C O-, -OCO-; -CON(R 1)-; -C(NR 1 R 2) 2 -; -(R 1)NC -; CSR 1; saturated or unsaturated, fused or non-fused aromatic or nonaromatic bivalent radical optionally comprising at least one heteroatom; which is optionally substituted by C 1 -C 30 alkyl, C 1 -C 30 alkoxy, -C 2 -C 12 alkenyl, C 5 -C 10 aryl, C 5 -C 10 cycloalkyl, C 1 -C 10 alkyl(C 5 -C 10 arylene), hydroxy or D +; R 1 and R 2 independently from each other are hydrogen; or unsubstituted or substituted, straight-chain or branched, monocyclic or polycyclic, interrupted or uninterrupted C 1 -C 14 alkyl; C 1 -C 14 hydroxyalkyl; C 1 -C 14 aminoalkyl; C 2 -C 14 alkenyl; C 6 -C 10 aryl; C 6 -C 10 aryl-C 1 -C 10 alkyl; or C 5 -C 10 alkyl(C 5 -C 10 aryl).