Provided are: a composition; and a threaded joint (1) for pipes, which is provided with a lubricating coating film layer (21) that is formed from the composition. A composition according to one embodiment of the present invention is used for the purpose of forming a lubricating coating film layer (21) on a threaded joint (1) for pipes, and contains Cr2O3, a metal soap, a wax and a basic aromatic organic acid metal salt. A threaded joint (1) for pipes according to one embodiment of the present invention is provided with a pin (5) and a box (8). Each of the pin (5) and the box (8) has a threaded part (4, 7) and a contact surface that has a non-threaded metal contact part. The threaded joint (1) for pipes is provided with a lubricating coating film layer (21), which is formed from the above-described composition, on the contact surface of at least one of the pin (5) and the box (8); and the lubricating coating film layer (21) functions as the outermost layer.