Red color #FF0000
rgb(255, 0, 0) · oklch(62.8% 0.258 29.2)
Red (#FF0000) is a medium, vivid, warm red. It mixes 100% red, 0% green and 0% blue, with a perceived lightness of 62.8% in OKLCH. Black text reads best on it (5.25:1 vs 3.99:1). The closest other CSS color is Orange Red (#FF4500). For people with protanopia it shifts the most, toward #6D5F00.
Red color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of red
Shades mix red with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Red as a UI color scale (50–950)
An 11-step scale for design systems, with red placed at step 500. Copy it as a Tailwind v4 theme below.
Colors that go with red
Harmonies are computed on the OKLCH hue wheel, keeping red’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is red accessible? Contrast with white and black
3.99:1
AA fail AA large pass AAA fail
5.25:1
AA pass AA large pass AAA fail
- As a background, red works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How red looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#6d5f00 Red-blind. Reds look dark and brownish; red and green are easily confused.
#a39000 Green-blind, the most common strong form. Red, green, orange and brown look similar.
#ff000f Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#7f7f7f Total color blindness, very rare. Only lightness differences are visible.
Colors similar to red
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use red in CSS and Tailwind
CSS custom properties
:root {
--red: #ff0000;
--red-rgb: 255 0 0;
}
.text-red { color: var(--red); }
.bg-red { background-color: var(--red); }
Tailwind v4 theme
@theme {
--color-red-50: #f8f6f6;
--color-red-100: #f1ebea;
--color-red-200: #ecd5d1;
--color-red-300: #eeafa5;
--color-red-400: #f77363;
--color-red-500: #ff0000;
--color-red-600: #d10000;
--color-red-700: #a31810;
--color-red-800: #7b1f17;
--color-red-900: #5c1e17;
--color-red-950: #351410;
}
Make a gradient from red: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.