What does COLREGs Rule 29 say?
Rule 29(a): a vessel 'engaged on pilotage duty' exhibits, at or near the masthead, two all-round lights in a vertical line, 'the upper being white and the lower red'. When underway she adds sidelights and a sternlight. When at anchor she adds the anchor light, lights or shape of Rule 30 to her white over red.
Rule 29(b): when not engaged on pilotage duty, a pilot vessel shows the lights or shapes prescribed for 'a similar vessel of her length' — the same as any other vessel of her kind and size.