About red
red (#FF0000) is pure red: the red channel at its maximum and green and blue at zero. It is one of the 16 color names that HTML 4 defined.
Pure red has a fairly high luminance for such a strong color, so white text on it does not reach the 4.5:1 contrast that WCAG AA asks for body text. Darker reds such as firebrick (#B22222) and darkred (#8B0000) do.
Shades and tints of red
Red lands on the 600 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For red mixed with white, black or gray in even steps, use the tint and shade generator.
Colors that go with red
Partner hues are picked on the OKLCH color wheel.
Complementary: the opposite hue
Open in the palette generator · Compare the screen and painter's complements of red
Analogous: neighboring hues 30° either side
Open in the palette generator · See analogous and monochromatic colors of red on three wheels
Triadic: three hues 120° apart
Split complementary: the two hues beside the complement
Text on red
| Text | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White | 4:1 | Fail | Pass | Fail |
| Black | 5.25:1 | Pass | Pass | Fail |
The ratio is the same either way round, so red text on a white background is also 4:1. Check other pairs in the color contrast checker.
Similar named colors
The CSS named colors closest to red, by deltaE OK distance.
See all 148 on the color names page.
Closest Tailwind CSS colors
red-500 v4: red-500, #FB2C36, deltaE OK 0.028
red-500 v3: red-500, #EF4444, deltaE OK 0.053
In Tailwind CSS v4 it is red-500 (#FB2C36), and in v3 red-500 (#EF4444). For the exact color, use an arbitrary value such as bg-[#ff0000]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.
Red with color vision deficiency
An approximation of how red may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.
Test a whole palette or image in the color blindness simulator.
Using red in code
.example {
color: red; /* named color */
background-color: #ff0000; /* hex */
border-color: rgb(255, 0, 0);
}
