HDMI Wire Color to Pin Number: Easy Chart & Wiring Guide
If you have ever cut open an HDMI cable, you have probably seen a colorful bundle of thin wires, foil shields, and drain conductors. The question "hdmi wire color to pin number" usually comes up when you need to repair a broken connector, splice a cable for a custom installation, or identify which conductor carries a specific signal. The most important thing to understand is that HDMI wire colors are not standardized. There is no official rule that says red must be pin 1 or black must be ground. Manufacturers can use any color they want, and they often change colors between production runs.
What is standardized is the HDMI pinout. A standard HDMI Type A connector has 19 pins, and each pin has a defined function. Once you know the pin numbers and signal names, you can trace any wire color back to its correct pin using a multimeter. This guide explains the standard pinout, common color patterns you may encounter, and a reliable process for mapping HDMI wire colors to pin numbers without guessing.
HDMI Pinout Basics and Why Color Codes Are Not Standard
HDMI, or High-Definition Multimedia Interface, uses a compact 19-pin connector to carry high-speed digital video, audio, and control data. The pins are arranged in a specific order, and the HDMI specification defines what each pin does. Pins 1 through 12 handle the four TMDS differential pairs used for video and audio data. Pins 13 through 19 handle control, power, ground, and display identification. This pin numbering is consistent across standard HDMI Type A connectors, but the wire colors inside the cable are not.
Because HDMI carries very high-frequency signals, cable manufacturers focus on impedance, shielding, and twist rates rather than color consistency. A red wire in one cable might be TMDS Data2+, while in another cable that same red wire might be the +5V power line. Some cables use solid colors for positive signals and stripes for negative signals. Others use all solid colors and rely on drain wires for shielding. You cannot safely assume that any color corresponds to any pin unless you verify it yourself.
Standard 19-Pin HDMI Type A Pinout
The HDMI Type A pinout is the reference you should memorize or keep nearby. Pin 1 is TMDS Data2+, pin 2 is TMDS Data2 Shield, and pin 3 is TMDS Data2-. Pin 4 is TMDS Data1+, pin 5 is TMDS Data1 Shield, and pin 6 is TMDS Data1-. Pin 7 is TMDS Data0+, pin 8 is TMDS Data0 Shield, and pin 9 is TMDS Data0-. Pin 10 is TMDS Clock+, pin 11 is TMDS Clock Shield, and pin 12 is TMDS Clock-. Pin 13 is CEC, pin 14 is Utility or HEAC-, pin 15 is SCL, pin 16 is SDA, pin 17 is DDC/CEC Ground, pin 18 is +5V Power, and pin 19 is Hot Plug Detect.
The four TMDS pairs are the most critical for video. Each pair consists of a positive signal, a negative signal, and a shield or drain. The shield pins are 2, 5, 8, and 11. The positive and negative pins are 1/3, 4/6, 7/9, and 10/12. Control pins such as CEC, SCL, SDA, +5V, and Hot Plug Detect are usually single conductors, though they may still be shielded in premium cables. Knowing this structure helps you group wires logically before you start tracing.
Common Wire Color Conventions You May Encounter
Even though there is no universal standard, some color patterns appear frequently in low-cost HDMI cables. A common example uses red for pin 1, orange for pin 3, green for pin 4, blue for pin 6, yellow for pin 7, white for pin 9, black for pin 10, and brown for pin 12. The corresponding shield pins are often bare copper drain wires or silver-colored wires. Control pins may use gray, purple, pink, and light green. This pattern is only a sample, not a rule.
Another cable may use red and white as a twisted pair, green and black as another pair, and blue and yellow as a third pair. Some manufacturers label wires with tiny numbers or stripes instead of relying on color. Others use coaxial-style conductors where the center wire has one color and the shield has another. If you see repeated colors, do not assume they are interchangeable. Always confirm each conductor with a continuity test before soldering.
How to Map HDMI Wire Colors to Pin Numbers Reliably
The only reliable way to map HDMI wire colors to pin numbers is to trace continuity from a known pin to a specific wire. You will need a digital multimeter with a continuity or resistance mode, a known-good HDMI connector or breakout board, and a way to reach the tiny pins without shorting them together. If one end of the cable still has a factory connector, you can use that as your reference. If both ends are cut, you will need to identify the wires by function and pair structure.
Start by stripping the outer jacket carefully. HDMI conductors are often 30 AWG to 36 AWG, which is extremely thin. A single nick can break a wire or create an intermittent short. Separate the foil shields, drain wires, and twisted pairs without pulling hard. Label each wire with a small piece of tape as you identify it. Take clear photos before you cut or solder anything. Good documentation prevents confusion later.
Using a Multimeter to Trace Each Conductor
Set your multimeter to continuity mode. Touch one probe to a specific pin on the HDMI connector. You can use a breakout board, a solderable HDMI plug, or a thin probe inserted carefully into the connector face. Touch the other probe to each exposed wire one at a time. The wire that causes the meter to beep or show near-zero resistance is connected to that pin. Write down the pin number, signal name, and wire color. Repeat this process for all 19 pins.
For shield pins, the drain wire may connect to the shield tab or to the metal shell of the connector. Be careful not to confuse the shell with a signal ground. Pin 17 is DDC/CEC Ground, but the connector shell may also be grounded in some designs. Test both to understand the cable's grounding scheme. If you find a wire that connects to multiple pins, stop and inspect for a solder bridge or a damaged shield. A correct HDMI cable should have no unintended connections between adjacent pins.
Identifying TMDS Pairs and Shield Wires
The four TMDS pairs are usually easy to spot because they are twisted together and wrapped in foil. Each pair has two signal wires and a drain wire that touches the foil. The drain wire connects to the corresponding shield pin: pin 2 for Data2, pin 5 for Data1, pin 8 for Data0, and pin 11 for Clock. The two signal wires connect to the positive and negative pins. Polarity matters, so you must identify which wire is positive and which is negative.
To determine polarity, trace each wire back to the connector pins. For example, if a twisted pair connects to pins 1 and 3, the wire going to pin 1 is Data2+ and the wire going to pin 3 is Data2-. If you swap them, the HDMI signal may fail completely or become unstable. Once you have identified all four pairs, the remaining wires are usually the control and power lines. Trace them to pins 13, 14, 15, 16, 17, 18, and 19, and label them clearly.
Practical Repair, Soldering, and Testing Tips
When you repair an HDMI cable, keep the exposed conductors as short as possible. Long unshielded sections can degrade high-speed performance and cause intermittent signal loss. Maintain the twist of each TMDS pair right up to the solder point. Use a fine-tip soldering iron, thin solder, and minimal flux. Too much heat can melt the insulation and cause adjacent wires to short. If you are not experienced with small-pitch soldering, practice on a scrap cable first.
After soldering, inspect the connector under magnification. Look for tiny solder bridges between pins. Use a multimeter to check for shorts between adjacent pins and between signal pins and the shield. Then verify continuity from each pin to its intended wire. A basic HDMI tester or a known-good source and display can confirm the repair. Test at 1080p first, then try higher resolutions if the cable is rated for them. Higher bandwidth will quickly reveal a marginal connection.
Example Color Mapping for a Common HDMI Cable
The following list is an example of one color mapping found in some generic HDMI cables. It is not a universal standard. Treat it as a starting hypothesis only, and verify every pin with a multimeter before you rely on it.
- Pin 1, TMDS Data2+: Red
- Pin 2, TMDS Data2 Shield: Drain or bare wire
- Pin 3, TMDS Data2-: Orange
- Pin 4, TMDS Data1+: Green
- Pin 5, TMDS Data1 Shield: Drain or bare wire
- Pin 6, TMDS Data1-: Blue
- Pin 7, TMDS Data0+: Yellow
- Pin 8, TMDS Data0 Shield: Drain or bare wire
- Pin 9, TMDS Data0-: White
- Pin 10, TMDS Clock+: Black
- Pin 11, TMDS Clock Shield: Drain or bare wire
- Pin 12, TMDS Clock-: Brown
- Pin 13, CEC: Gray
- Pin 14, Utility or HEAC-: Purple
- Pin 15, SCL: Pink
- Pin 16, SDA: Light green
- Pin 17, DDC/CEC Ground: Black or bare wire
- Pin 18, +5V Power: Red or white
- Pin 19, Hot Plug Detect: Yellow or gray
Notice the conflicts in this example. Red appears for both pin 1 and pin 18. Black appears for both pin 10 and pin 17. Yellow appears for both pin 7 and pin 19. These overlaps are exactly why color alone cannot identify a pin. The only safe method is to trace continuity and match the wire to the pin number and signal name.
When to Replace Instead of Repair
HDMI cables are inexpensive, and repair is only worth the effort for custom lengths, in-wall runs, or expensive active cables. Passive HDMI repairs can work, but every solder joint adds a small impedance change. At 4K, 8K, or high refresh rates, those changes can cause sparkles, black screens, HDCP errors, or intermittent audio dropouts. If the cable is critical for a home theater or gaming setup, replacement is usually more reliable than repair.
If you must repair, use a connector designed for the cable gauge and impedance. Standard passive HDMI connectors may not fit thick cables with heavy shielding. Active HDMI cables contain embedded electronics and should not be cut unless you fully understand the design. For long runs, consider an HDMI extender over Cat6 or fiber. Those solutions avoid the color-to-pin mapping problem entirely and often provide more stable performance over distance.
Mapping HDMI wire colors to pin numbers is less about memorizing a rainbow and more about understanding the 19-pin signal layout. Keep a multimeter nearby, label every conductor, and verify each connection before you solder. Once you build your own pin map for a specific cable, you can repair or modify it with confidence and avoid the guesswork that ruins so many DIY HDMI projects.