red (#FF0000)

red is a CSS named color with the hex code #FF0000, rgb(255, 0, 0). It is a medium, vivid red.

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

Full #FF0000 details: palettes, shades, color-blind view →

Description

Red has a hue of 0°, saturation 100% and lightness 50%, which places it in the red family. Its strongest channel is red (255).

Using red in CSS

.title { color: red; }
.box   { background: red; border-color: #ff0000; }
.soft  { background: rgb(255 0 0 / 20%); }   /* red at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
orangered#ff4500255, 69, 06.4
tomato#ff6347255, 99, 7110.2
crimson#dc143c220, 20, 6013.8
indianred#cd5c5c205, 92, 9215.2
coral#ff7f50255, 127, 8015.5
chocolate#d2691e210, 105, 3015.5
firebrick#b22222178, 34, 3416.3
salmon#fa8072250, 128, 11417.3

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 4.00:1; with black text: 5.25:1. Black body text on red meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for red?
#FF0000.
What colors are similar to red?
orangered (#ff4500), tomato (#ff6347), crimson (#dc143c).