The standard hex code used for a traffic light's red lens is #FF0000 — pure, fully saturated red. That is the code most people mean when they ask for "traffic light red," and it is the fastest choice for a signal icon, a diagram or a stoplight-themed graphic. But a real, working traffic light red is rarely that bright: the red signal you see on a road at night is a deep, slightly warm red, closer to #CC0000 or #E60000, because the lens filters light and the housing is dark. This guide shows you how to pick the right red for your use case, apply it, and check that it still reads as a signal.

What You'll Need

  • Any design tool that accepts hex values: Photoshop, Illustrator, Figma, Canva, GIMP, Affinity, or a plain HTML/CSS file
  • A reference image of a real traffic light, ideally photographed in daytime and at night, if you want an accurate deep red rather than pure red
  • A way to check contrast — your design tool's readability indicator, a contrast checker website, or a screenshot viewed on a phone in daylight
  • Optional: a colour picker tool (the eyedropper in most editors) to sample a reference photo

Step-by-Step

  1. Decide what the red is for. Two very different jobs exist here. If you are labelling a diagram or icon where the red must stand out as an unambiguous stop signal, use pure red #FF0000. If you are recreating the look of a real light housing in an illustration or a mockup, use a deeper red. Write the decision down before you start, because mixing both in one graphic looks inconsistent.
  2. Enter the base hex. Open your colour picker, switch the input mode to Hex (in most editors it is a # field or a dropdown marked HEX, and the label may differ slightly by version), and type FF0000. Confirm that the preview updates to a bright red. If the field rejects it, you likely typed it without the # or included spaces; remove them.
  3. Sanity-check the RGB values. #FF0000 equals RGB 255, 0, 0 and HSL 0°, 100%, 50%. If your picker shows anything other than that, something was mistyped. Some tools display hex in lowercase (#ff0000), which is identical — case does not matter in CSS or in any standard colour picker.
  4. Tone it down for a realistic lens. Replace #FF0000 with a deeper value. Good, commonly used options: #CC0000 for a solid mid red, #B30000 for a darker lens with a warm cast, and #E60000 for a slightly brighter but still believable red. For the glow of an illuminated lamp, keep the deep red as the lens colour and add a soft, semi-transparent bright red or orange-red layer on top rather than brightening the whole shape.
  5. Give the red context. A traffic light red never appears alone. Pair it with a deep charcoal or near-black housing (around #1A1A1A to #262626) and only show the red lit while the other two lamps are dimmed versions of their own colours — roughly #3D1A00 for an unlit amber and #003311 for an unlit green. This contrast is what makes the red read as "on."
  6. Apply it in your medium. In CSS, write color: #FF0000; or background-color: #CC0000;. In design apps, paste the hex into the fill or stroke swatch. If you need a gradient across a lens, keep both stops in the red family and avoid fading to pure white, which instantly looks like a plastic toy rather than a signal.
  7. Test it at small sizes. Zoom out to icon size — roughly 16 to 24 pixels — and check that the red still reads. Very bright #FF0000 on a white background can bloom and lose its shape, while #CC0000 holds its edge better. If the icon is tiny, consider a red closer to #D50000.
  8. Check accessibility before you ship. Red is the colour most often confused by people with red-green colour vision deficiency, so never rely on colour alone to mean "stop." Add a shape cue (an octagon, an X, a filled circle versus an outline) or a text label. Run the red against your text or background through a contrast checker; white text on #FF0000 passes at normal sizes, but white on #E60000 can sit right at the edge, so test rather than assume.
  9. Save the swatch. Once you have settled on your red, add it to your document swatches or a small CSS variable such as --signal-red: #CC0000; so every element in the project uses the same value. Inconsistent reds across icons, buttons and diagrams is the single most common reason a design looks unfinished.

Common Mistakes

  • Using #FF0000 everywhere. Pure red is correct for a stop sign icon or a warning dot, but it looks synthetic as a lit lamp. Most real photographs of a red signal land far below full brightness.
  • Forgetting the dimmed neighbours. If all three lamps in your traffic light are drawn at full brightness, none of them reads as active. Dim the unlit lamps considerably.
  • Typing six digits when you mean three. #F00 is shorthand for #FF0000 and is valid CSS, but some pickers and tools only accept the full six-digit form. If a value is rejected, spell it out.
  • Adding a white highlight that washes out the red. A small, low-opacity highlight is fine; a large white blob turns the lens pink and kills the signal read.
  • Relying on hue alone. Colour alone fails for colour-blind viewers and in harsh sunlight on phone screens. Always add a shape or label.
  • Mixing gradient directions between lamps. If the red lens has a top-left highlight, the amber should too, or the set looks assembled from different sources.

Tips

  • Sample from a real photograph with the eyedropper to get a red that matches your locale's actual lens colour; traffic light reds differ slightly between regions and manufacturers.
  • Keep a small palette of three or four reds — pure, mid, deep, and a dimmed "off" red — and reuse them consistently.
  • For night scenes, let the surrounding area glow very slightly orange-red at low opacity; that spill is what sells an illuminated lamp.
  • When designing for print, convert your chosen hex to CMYK and check the proof: bright reds shift noticeably, and #FF0000 often prints closer to orange.
  • Store the value as a named variable or swatch so a single edit updates every use.

Troubleshooting

The red looks orange on another screen. Different displays render saturated reds differently, and some monitors use wide-gamut colour profiles that push #FF0000 warm. Test on a second device, and if accuracy matters, export to sRGB explicitly. If it still looks orange, drop saturation slightly (for example #E00000) rather than changing the hue.

The picker will not save the value. Confirm you are editing a fill or stroke colour and not a gradient stop that is locked, and that the hex field is in the right mode — some tools default to HSB sliders and only accept hex when the HEX tab is selected. Re-entering the value in the correct field almost always fixes it.

The red does not read as a stop signal. The problem is usually contrast, not the exact hex. Darken the housing, brighten the lens or add a darker outline to the shape. A one-pixel darker red border around a bright red dot makes it pop without changing the fill.

Your exported image shows a duller red than the editor. Export settings, colour profile mismatches or heavy JPEG compression are the usual culprits. Export as PNG or high-quality JPEG in sRGB and compare again.

If that did not work, recreate the swatch from scratch: set a new solid-fill shape, type the hex fresh, and sample the result. Foreign colour profiles or blended layers underneath can quietly alter what you see.

Frequently Asked Questions

What is the hex code for traffic light red?

The widely used answer is #FF0000, pure red. For a realistic lit lens, deeper values such as #CC0000 or #E60000 look more convincing.

Is traffic light red the same as standard red in CSS?

Effectively yes. CSS red is defined as #FF0000, so writing color: red and color: #FF0000 produces the same colour.

What are the hex codes for the other two lights?

Amber or yellow is commonly #FFBF00 or a brighter #FFA500, and green is commonly #00CC00 or #008000. Exact values vary by the light, so sample a reference if you need accuracy.

Why does my red look orange on my phone?

Display colour profiles and panel calibration bend highly saturated reds toward orange. Viewing the same file in sRGB on a calibrated screen shows the true colour.

Can I use #FF0000 for a stop button or warning label?

Yes, and it is a reasonable choice for visibility, but add text or an icon because red alone is not accessible to everyone.

Does the case of the hex code matter?

No. #FF0000 and #ff0000 are identical in every standard tool and in CSS.