Color reference

Red #FF0000

Red is the standard CSS named color #FF0000, with the red sRGB channel at full intensity and green/blue at zero.

Red is the CSS named color keyword red, standardized at #FF0000 in sRGB.

Red #FF0000 5.25:1 with black text

Color values

HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0 100% 50%)
HSV0°, 100%, 100%
CMYK0%, 100%, 100%, 0%

HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.

Black or white text?

Black text 5.25:1 — AA normal text passes
White text 4.00:1 — AA normal text fails

AA normal text: black passes; white fails.

AA large text: black passes; white passes.

WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.

Tints and shades of Red

These steps are computed by RGB-mixing #FF0000 toward white or black. They are generated values, not official named colors.

80% tint #FFCCCC
60% tint #FF9999
40% tint #FF6666
20% tint #FF3333
Base #FF0000
20% shade #CC0000
40% shade #990000
60% shade #660000
80% shade #330000

Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.

CSS usage

.example {
  color: #000000;
  background-color: red;
}

You can use either red or #FF0000 in CSS; both resolve to the same sRGB color.