#FF0000

red

#FF0000 is a red colour. In RGB it is 255 red, 0 green and 0 blue, which converts to a hue of 0 degrees, 100% saturation and 50% lightness. It is one of the named CSS colours, written as red in stylesheets.

Color values

HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
HSVhsv(0, 100%, 100%)
CMYKcmyk(0%, 100%, 100%, 0%)

Contrast and accessibility

Against white the contrast ratio is 4:1, and against black it is 5.25:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White4:1FailAA
Black5.25:1AAAAA

Tints and shades

Lighter tints move #FF0000 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #FF0000;
CSS rgb()color: rgb(255 0 0);
Tailwindbg-[#ff0000]
SwiftUIColor(red: 1.000, green: 0.000, blue: 0.000)
AndroidColor.parseColor("#FF0000")

Related tools