Skip to content

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

Edit

The base color and the hue directly opposite it. Maximum contrast; use one as the accent.

Analogous

Edit

Neighbors 30° either side on the hue wheel. Calm and cohesive, common in nature.

Triadic

Edit

Three hues spaced 120° apart. Vibrant but balanced; let one dominate.

Split complementary

Edit

The base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.

Tetradic (rectangle)

Edit

Two complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.

Monochromatic

Edit

One hue at different lightness levels. Safe, elegant, and easy to read.

Is red accessible? Contrast with white and black

Red text on white

3.99:1

AA fail AA large pass AAA fail

Red text on black

5.25:1

AA pass AA large pass AAA fail

Check red against any other color

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.

Protanopia: #6d5f00
Red-blind. Reds look dark and brownish; red and green are easily confused.
Deuteranopia: #a39000
Green-blind, the most common strong form. Red, green, orange and brown look similar.
Tritanopia: #ff000f
Blue-blind and rare. Blue and green are confused, as are yellow and pink.
Achromatopsia: #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).

ΔE 5.0 Orange Red
#ff4500
ΔE 7.7 Crimson
#dc143c
ΔE 9.3 Tomato
#ff6347
ΔE 11.7 Indian Red
#cd5c5c

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.

More red colors