Red #FF0000

Red#FF0000 · rgb(255, 0, 0)

Red color codes

CSS namered
HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
CMYKcmyk(0%, 100%, 100%, 0%)
Decimal16711680

Shades of Red (darker)

#E60000 · #CC0000 · #B30000 · #990000 · #800000 · #660000 · #4D0000 · #330000 · #1A0000

Tints of Red (lighter)

#FF1A1A · #FF3333 · #FF4D4D · #FF6666 · #FF8080 · #FF9999 · #FFB3B3 · #FFCCCC · #FFE6E6

Color harmonies

Complementary
#00FFFF
Triadic
#00FF00, #0000FF
Analogous
#FF0080, #FF8000

Accessibility (WCAG contrast)

White text on Red4.00:1 · AA large text only
Black text on Red5.25:1 · AA

Use Red in code

.element {
  color: red;          /* or #ff0000 */
  background-color: rgb(255 0 0 / 0.5);
}

Frequently asked questions

What is the hex code for Red?

Red is #FF0000 in HEX, rgb(255, 0, 0) in RGB and hsl(0, 100%, 50%) in HSL.

Can I use "red" directly in CSS?

Yes. "red" is one of the 148 standard CSS named colors, so color: red; works in every browser.

Is Red readable on white?

The contrast ratio of Red on white is 4.00:1 (WCAG AA large text only). On black it is 5.25:1 (AA).

What is the complementary color of Red?

The complementary color (opposite on the color wheel) is #00FFFF.

Similar colors

Convert any color with the Color Converter, generate palettes with the Random Color Generator, or browse all 148 CSS color names.