When repairing a power brick, splicing a custom cable, or debugging a Power Delivery (PD) fault, relying on memory for wire colors is a fast track to a shorted MOSFET or a fried microcontroller. A complete color code type c charger wiring diagram must account for two entirely different domains: the universal DC output side (governed by USB-IF specifications) and the AC mains input side of the charger brick (governed by regional electrical codes). Below is the definitive bench reference for both, including how to handle non-compliant cables and faded markings.
Complete USB-C DC Wire Color Code & Pinout Reference
The USB Type-C connector features 24 pins, but internal cables rarely use all of them. A standard USB 2.0 charging cable will only contain VBUS, GND, D+/D-, and the CC (Configuration Channel) wires. A full-featured USB 3.2 or USB4 cable will include the shielded SuperSpeed TX/RX pairs. The USB Implementers Forum (USB-IF) defines the standard color codes for these internal conductors.
| Wire Function | Standard USB-IF Color | Typical Gauge (AWG) | Practical Notes & PD Behavior |
|---|---|---|---|
| VBUS (Power) | Red (Orange for 5A) | 20 to 28 AWG | Carries 5V to 48V (PD 3.1). 20 AWG is required for 3A+ continuous loads to prevent voltage drop and melting. |
| GND (Ground) | Black or Bare Copper | 20 to 28 AWG | Return path. Must match VBUS gauge. Often bundled as multiple strands in high-current cables. |
| CC1 / CC2 | Yellow or White | 28 to 32 AWG | Configuration Channel. Handles PD negotiation and cable orientation. Only one CC wire is used in a standard plug-to-plug cable. |
| D+ / D- | Green / White | 28 AWG | USB 2.0 data lines. Twisted pair. Often omitted in charge-only cables. |
| TX/RX Pairs | Blue, Purple, Light Blue (Shielded) | 30 to 32 AWG | SuperSpeed data lanes. Always shielded with a drain wire. Irrelevant for pure power delivery. |
| Shield / Drain | Bare Tinned Copper | N/A | Connects to the connector backshell. Crucial for EMI mitigation in high-wattage PD chargers. |
AC Mains Input: Regional Wiring Standards for Charger Bricks
While the DC output of a Type-C charger is universal, the AC mains wiring inside the charger brick (from the IEC C8 "figure-8" inlet to the internal flyback transformer) strictly follows regional electrical codes. If you are opening a power supply to replace a blown fuse or thermistor, you must identify the region of origin to avoid lethal miswiring.
| Function | US / Canada (NEC 120V) | EU / International (IEC 230V) | Old UK (Pre-2004) |
|---|---|---|---|
| Line / Hot | Black | Brown | Red |
| Neutral | White | Blue | Black |
| Earth / Ground | Green / Bare | Green-Yellow Stripe | Green-Yellow Stripe |
Reference: For deeper reading on global AC standards, consult the All About Circuits wire color code reference.
Rows People Get Wrong: Faded Wires and Non-Compliant Cables
Theory rarely survives the cutting of a $3 gas-station USB-C cable. Here is how to safely interpret wiring when the standard color codes fail you.
- The "Red is Always VBUS" Trap: In cheap, non-compliant cables, manufacturers sometimes use red for the D+ data line and black for VBUS to save on copper costs. Never assume red is power without testing. If you splice a non-compliant cable and apply 20V PD to a data line, you will instantly destroy the connected device's USB controller.
- Faded or Missing Markings: If wire insulation is faded, transparent, or entirely uncolored (common in ultra-cheap bulk cables), you must map the pins manually. Set your multimeter to continuity mode (beep test). Probe the physical pins on the USB-C connector (Pins A4/A9/B4/B9 for VBUS; A1/A12/B1/B12 for GND; A5 for CC1) and match them to the stripped wire ends.
- Confusing CC with Data: The CC (Configuration Channel) wire is low-speed and handles the 5.1kΩ pull-down resistor logic. Hobbyists often mistake the yellow/white CC wire for a secondary data line. Do not route CC wires into high-speed data multiplexers; they belong strictly to the PD controller's CC input pins.
- Old UK vs. US Black Wire: If you are repairing a vintage or imported UK charger brick, the black wire is Neutral, not Hot. Treating pre-2004 UK black as US hot will result in reversed polarity on the internal fuse and switchgear, creating a severe shock hazard if the neutral disconnects.
Frequently Asked Questions
What is the standard color code for a Type C charger wiring diagram?
The standard USB-IF color code for the DC output side of a Type-C charger wiring diagram designates Red (or Orange for 5A cables) for VBUS (power), Black or bare copper for GND, Yellow or White for the CC (configuration) pins, and Green/White for USB 2.0 D+/D- data lines. However, because the USB-IF only strictly polices certified cables, you must always verify with a multimeter when working with uncertified, off-brand cables.
How do I safely test a USB-C cable when the wire markings are faded or missing?
When markings are missing, use a digital multimeter in continuity mode. Do not plug the cable into power during this test. Probe the exposed wire ends against the metal contacts inside the USB-C connector shell. The outermost large pins on both the top and bottom rows are VBUS and GND. The pin immediately adjacent to the ground pins on the top row (Pin A5) is CC1. Once you map the physical pins to the wire colors, label them with heat shrink or tape before applying any voltage.
Why does my USB-C charger wiring diagram show different colors for the AC mains input?
The DC output of the charger follows universal USB-IF standards, but the AC mains input inside the charger brick must comply with the electrical code of the country where it is sold. A charger sold in the US will use NEC color codes (Black for Hot, White for Neutral), while the exact same charger model sold in Europe will use IEC 60446 colors (Brown for Live, Blue for Neutral). Always check the physical plug type and the manufacturer's spec sheet to determine which regional AC color code applies to the primary side of the power supply.






