This 12-inch (30-cm) cable has 26 AWG wires with a 3-pin female JST PH-style connector. The other ends of the wire are terminated with male pins for 0.1" housing.
The wire color scheme matches the Sharp distance sensor pinout: red for power, black for ground, and white for signal.