Red Color

HEX #FF0000 · rgb(255, 0, 0) · hsl(0, 100%, 50%)

Red color codes

Red is one of the named colors every browser understands. In CSS you can write it as red or #FF0000.

FormatValue
HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
CMYK0%, 100%, 100%, 0%
CSS namered
.example {
  color: red;
  background-color: #FF0000;
  border-color: rgb(255, 0, 0);
}

Colors that go with red

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#00FFFFComplementary
Cyan
#FF0080Analogous
#FF8000Analogous
#00FF00Triadic
Lime
#0000FFTriadic
Blue

Tints and shades of red

Tints mix the color with white; shades mix it with black.

#FFE6E690% white
#FFBFBF75% white
#FF999960% white
#FF737345% white
#FF4D4D30% white
#FF262615% white
#FF0000Base
Red
#D9000015% black
#B3000030% black
#8C000045% black
#66000060% black
#40000075% black
#1A000090% black

Contrast and readability

Black text
5.25:1
passes AA
White text
4.00:1
large text only

Use black text on red. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for red?

The hex code for red is #FF0000.

What is the RGB value of red?

Red is rgb(255, 0, 0): 255 red, 0 green and 0 blue on a 0 to 255 scale.

What color goes with red?

Its complementary color is #00FFFF, which is closest to the named color cyan. Analogous and triadic matches are listed on this page.

Should text on red be black or white?

Use black text. The contrast ratio is 5.25:1 with black and 4.00:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.