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
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| orangered | #ff4500 | 255, 69, 0 | 6.4 |
| tomato | #ff6347 | 255, 99, 71 | 10.2 |
| crimson | #dc143c | 220, 20, 60 | 13.8 |
| indianred | #cd5c5c | 205, 92, 92 | 15.2 |
| coral | #ff7f50 | 255, 127, 80 | 15.5 |
| chocolate | #d2691e | 210, 105, 30 | 15.5 |
| firebrick | #b22222 | 178, 34, 34 | 16.3 |
| salmon | #fa8072 | 250, 128, 114 | 17.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.