Carlyle and its affiliated funds will invest up to Rs 3,185 crore in the housing finance company through a preferential allotment of equity shares and warrants at a price of Rs 390 per share, a discount of nearly 11 per cent to Fridays closing price.