Three wire lamp has one red (live) wire, one black wire and one wire with other color. Connect Red with red, black with black and the third wire is used for ground or earth.
Didn't find the answer you were looking for?