Organofunctional polyorganosiloxanes, their use in cosmetic compositions, method for treating amino acid based substrates with organofunctional polyorganosiloxanes, compositions comprising the organofunctional polyorganosiloxanes useful for hair straightening and shaping as well as hair coloration and hair color retention.