Red — #FF0000
The hex code for red is #FF0000 — rgb(255, 0, 0), hsl(0, 100%, 50%). Use it in CSS as color: #FF0000;.
Red is the color of fire, blood, and ripe strawberries. It is the most attention-grabbing color in design, which is why it is used for warnings, sale tags, and call-to-action buttons.
Red color codes — click to copy
#FF0000rgb(255, 0, 0)hsl(0, 100%, 50%)hsv(0, 100%, 100%)cmyk(0%, 100%, 100%, 0%)Shades, tints & tones of red
Click any swatch to copy it.
Red harmonies
Click a swatch to copy it.
Colors that go with red
| Color | Hex | |
|---|---|---|
| White | #FFFFFF | |
| Black | #000000 | |
| Gold | #FFD700 | |
| Teal | #008080 |
Where red is used
Use red when you want energy, urgency, or appetite appeal — food brands, clearance sales, and alerts. Use it sparingly: large red areas feel loud and can raise tension.
What red is often associated with: Energy, urgency, passion, and appetite.
Contrast — can you read text on red?
White text on red scores 4.00:1
Normal text: AA Fail AAA Fail
Large text (18pt+, or 14pt bold+): AA Pass AAA Fail
Black text scores 5.25:1Normal text: AA Pass AAA Fail
Large text (18pt+, or 14pt bold+): AA Pass AAA Pass
Check any pair in the contrast checker →How red looks with color blindness
Simulated with the Machado matrices. Click a swatch to copy the simulated color.
Protanopia
Deuteranopia
Tritanopia
This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.
Frequently asked questions
What is the hex code for red?
The hex code for red is #FF0000.
What is the RGB of red?
The RGB of red is rgb(255, 0, 0).
What colors go with red?
Colors that go well with red include white (#FFFFFF), black (#000000), gold (#FFD700). See the pairings table on this page for the full list.
Is red a good color for a website?
Red works well as an accent or background — black text on it scores 5.25:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.
What does the color red mean?
Energy, urgency, passion, and appetite.
Related tools
Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker