Select your rectangle along with the piece of text, go to Edit > Edit Colors > Recolor Artwork, and move to the Edit section. Make sure that the Recolor Artwork box and the Link harmony colors buttons are checked, and then play with those color handles. Also, adjust that Brightness slider as you wish.