red red #ff0000

red is #ff0000 in hexadecimal, rgb(255, 0, 0) in decimal and hsl(0, 100, 50) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#ff0000
HEX#ff0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)

Harmonies

Complementary

Analogous

#ff0080#ff8000

Triadic

Split complementary

#00ff80#0080ff

Tints & shades

#db0000#eb0000#ff0000#ff1414#ff2424

Accessibility

vs #ffffff4:1
vs #0000005.25:1
Suggested text color#000000 · 5.25:1 · WCAG AA

Similar named colors

orangered#ff4500crimson#dc143cfirebrick#b22222brown#a52a2adarkred#8b0000chocolate#d2691e

FAQ

What is the HEX code for red?

red is #ff0000 in hex, rgb(255, 0, 0) in decimal and hsl(0, 100%, 50%) in HSL. In CSS you can write either color: red; or color: #ff0000; — they are equivalent.

What colors go with red?

The complementary #00ffff gives the strongest contrast, the analogous pair #ff0080 / #ff8000 is the safest, and the triad #00ff00 / #0000ff adds more tension. All three are derived from the 0° hue of #ff0000.

Does #ff0000 read better on white or black?

Its contrast is 4:1 against white and 5.25:1 against black. Use #000000 text on it — that gives 5.25:1, which meets WCAG AA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors