Look for another identifier besides color such as a stripe or rib on one of the two other wires. That will be the Neutral wire. Make sure it connects to the Wide blade on the plug.
Is this because it is AC? No, if it isn't so identified, you are dealing with a cheap knockoff pigtail that probably belongs in the waste bin. In the 120V single phase world, Neutral is effectively at ground potential, therefore if you touch it, you shouldn't get shocked. Hot while alternating isn't at ground potential and so the voltage is alternating between +120V and -120V (RMS, actual voltage peak ±170V), making you the conductor if you connect the hot wire to the dishwasher chassis and you touch it and ground. If the neutral connects to ground in the dishwasher, you've just connected up a dead short.
As this is for a dishwasher, neutral must connect to neutral and hot to hot, any mess-up here is going to be ugly. The only other method is to use an ohmmeter to trace which wire is attached to which blade. Normally narrow blade hot, wide blade neutral and ground pin to ground. If there is no difference in blade widths, then use the socket chart below to figure out which blade is Hot and Neutral from its position and attach the wire to the appropriate terminal in the appliance.
There is only one instance where the connections could be considered even remotely "interchangeable" and that is on a double insulated device where neutral is totally and completely isolated from ground.
NEMA socket listing with blade width and "polarity". Note that NEMA 5-15 and 5-20 can be installed with the ground prong up (coat hanger excluder mode) so right and left slot position is relative.
![enter image description here](https://i.stack.imgur.com/jDmyl.png)
National Electrical Code 2014
Chapter 4 Equipment for General Use
Article 400 Flexible Cords and Cables
II. Construction Specifications
400.22 Grounded-Conductor Identification. One conductor of flexible cords that is intended to be used as a grounded circuit conductor shall have a continuous marker that readily distinguishes it from the other conductor or conductors. The identification shall consist of one of the methods indicated in 400.22(A) through (F).
(A) Colored Braid. A braid finished to show a white or gray color and the braid on the other conductor or conductors finished to show a readily distinguishable solid color or colors.
(B) Tracer in Braid. A tracer in a braid of any color contrasting with that of the braid and no tracer in the braid of the other conductor or conductors. No tracer shall be used in the braid of any conductor of a flexible cord that contains a conductor having a braid finished to show white or gray.
(C) Colored Insulation. A white or gray insulation on one conductor and insulation of a readily distinguishable color or colors on the other conductor or conductors for cords having no braids on the individual conductors. For jacketed cords furnished with appliances, one conductor having its insulation colored light blue, with the other conductors having their insulation of a readily distinguishable color other than white or gray.
(D) Colored Separator. A white or gray separator on one conductor and a separator of a readily distinguishable solid color on the other conductor or conductors of cords having insulation on the individual conductors integral with the jacket.
(E) Tinned Conductors. One conductor having the individual strands tinned and the other conductor or conductors having the individual strands untinned for cords having insulation on the individual conductors integral with the jacket.
(F) Surface Marking. One or more ridges, grooves, or white stripes located on the exterior of the cord so as to identify one conductor for cords having insulation on the individual conductors integral with the jacket.
Not sure what make and model dimmer you're trying to install, so I'll describe a common installation. Wire colors could vary, depending on manufacturer.
- Black is the common terminal, and is attached to the ungrounded (hot) conductor feeding the switch.
- Red is the switched lead (or a traveler in a 3-way installation), and is attached to the switched hot going to the light.
- Red with white is a traveler, used for 3-way installations. In your situation, you'll just cap this one off.
- Green is ground, and is attached to the grounding conductor.
![Single pole installation](https://i.stack.imgur.com/nNPBr.png)
From Lutron Luméa® Installation Guide
If you don't have grounding conductors in your home, you could install a GFCI breaker and you'll be code compliant.
Lutron devices typically have a red and a red/white stripped wire, whereas Leviton has two red wires.
Best Answer
First, are you using a heavy enough line cord? Washing machines are fairly high draw appliances owing to the motor (and water heat if equipped) and should have at the very least a 14AWG if not 12AWG cord -- or whatever the previous cord was if you are positive it was the factory cord. In my experience, those cords come with 3-color wires, and usually light 16AWG cords don't color. Just indulge me and check to be sure.
Granted, I have seen thick extension and appliance cords that are flat. However I am used to the conductors having colored insulation .
If you have a flat cable such as that, with no markings, look for either ribs on the edge of one side, or the cable lettering or a stripe on one side. Follow it down to the plug (the tall pin is the neutral) but typically the neutral is the ribbed, striped or lettered side. Ground is in the middle.