Home / Colors / Red hex code

Red hex code

Pure red: the strongest red a screen can show, with the red channel at full and green and blue switched off.

#FF0000 Red
HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
HSVhsv(0, 100%, 100%)
CMYKcmyk(0%, 100%, 100%, 0%)
Advertisement

About red

Pure red: the strongest red a screen can show, with the red channel at full and green and blue switched off. Its hex code is #FF0000, which is rgb(255, 0, 0): 255 red, 0 green and 0 blue on a scale of 0 to 255.

Red is a warm color.

Red tints and shades

Lighter tints (mixed with white) and darker shades (mixed with black) of red. Click any of them to copy its hex code.

Colors that go with red

Complementary

The opposite color on the color wheel, for strong contrast.

Analogous

Neighbors on the color wheel, for a calm, matching look.

Triadic

Three colors evenly spaced around the wheel, for a balanced, lively palette.

Split complementary

The two colors either side of the complement: contrast without clashing.

Text on red

White text

3.99:1 · Large text only (AA)

Black text

5.25:1 · Passes AA for all text

For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on red. Test other combinations with the contrast checker.

Using red in CSS

.element {
  color: #FF0000;
  background-color: rgb(255 0 0);
  border-color: hsl(0 100% 50%);
}
Advertisement

Frequently asked questions

What is the hex code for red?

Red is #FF0000. In RGB it's rgb(255, 0, 0), and in HSL it's hsl(0, 100%, 50%).

What colors go with red?

Its complementary color is #00FFFF, which gives strong contrast. For a softer look, use analogous colors #FF0080 and #FF8000. Red also pairs well with white.

Is red warm or cool?

Red is a warm color.

Should I use white or black text on red?

Use black text. Its contrast ratio on red is 5.25:1, versus 3.99:1 for white.

Similar colors

See all popular colors · All HTML color names · Open red in the color picker

Advertisement