Red

red is a CSS color keyword. The closest Tailwind step is red-600 (#dc2626).

#ff0000rgb(255, 0, 0)
Hex
#ff0000
RGB
255, 0, 0
HSL
0°, 100%, 50%
OKLCH
62.8% 0.258 29.2
LAB
53.2 80.1 67.2

Open #ff0000 in the explorer

Text contrast

Black or white text on #ff0000. AA needs 4.5:1 and AAA needs 7:1. APCA Lc is a separate readability score.

Black text5.3:1 AAAPCA Lc 40
White text4.0:1 FailAPCA Lc -70

Color vision

How #ff0000 looks in simulations of color blindness, at full severity.

Full color
#ff0000
Protanopia
#6d5f00
Deuteranopia
#a39000
Tritanopia
#ff000f

Tonal scale

An OKLCH ramp that keeps this hue. The marked step is the closest lightness to red.

Copy into CSS

color: red;
background: #ff0000;
@theme {
  --color-red-50: #fff2ef;
  --color-red-100: #ffe0da;
  --color-red-200: #ffbfb4;
  --color-red-300: #ff9181;
  --color-red-400: #ff5544;
  --color-red-500: #e60000;
  --color-red-600: #b70000;
  --color-red-700: #900000;
  --color-red-800: #6a0000;
  --color-red-900: #470000;
  --color-red-950: #230000;
}