Swatchproof

Red #FF0000

Red is one of the named colours in CSS, written red. Black text reaches 5.25:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordred
HEX#FF0000
RGBrgb(255 0 0)
HSLhsl(0 100% 50%)
OKLCHoklch(62.8% 0.258 29.2)
White text4.00:1 · body text AA Fail
Black text5.25:1 · body text AA Pass

Colours that go with Red

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Spectrum Red (#E31F26), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Red itself.

ColourHEXContrast with RedBody text AA
Ivory Buff#EBD3A22.74:1Fail
Orange Yellow#FCB3152.21:1Fail
Blue Violet#6450A11.64:1Fail
Brick Red#A842221.51:1Fail
Rainette Green#8FA0711.42:1Fail
Blue#006EB81.34:1Fail
Benzol Green#00978D1.11:1Fail
Eupatorium Purple#BF58921.04:1Fail
Aconite Violet#A36AA51.02:1Fail

Palettes with Spectrum Red

Shades and tints of Red

Nine lightness steps in OKLCH that keep the hue of Red. Chroma is reduced only where sRGB cannot show it.

:root {
  --red-100: #FFF2EF;
  --red-200: #FFDBD5;
  --red-300: #FFBAAF;
  --red-400: #FF8B7B;
  --red-500: #FF4233;
  --red-600: #D60000;
  --red-700: #A30000;
  --red-800: #740000;
  --red-900: #470000;
}

Text that keeps Red on screen

Text #000000 on #FF0000 reaches 5.25:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours