Color codes

Red hex code #FF0000

#FF0000 is pure red: the red light of a screen at full strength and the others off. CSS calls it red.

Red #FF0000 CSS named color: red

Red color codes

HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
CMYKcmyk(0%, 100%, 100%, 0%)
More formats and code
HSV / HSBhsv(0, 100%, 100%)
OKLCHoklch(0.628 0.258 29.2)
RGB numbers255, 0, 0
CSScolor: #ff0000;
Tailwindbg-[#ff0000]
SwiftUIColor(red: 1.000, green: 0.000, blue: 0.000)
AndroidColor.parseColor("#FF0000")

CMYK here is a plain formula. Ask your print shop for the numbers their press uses.

Open in a tool: ConverterShade generatorContrast checkerColor wheelPalette generatorColor blindness simulator

Lighter and darker red

Each step mixes in more white or black, in even steps for the eye. Tap a swatch to copy its code.

Lighter

Darker

Colors that go with red

Complementary

Across the color wheel. Strong contrast, good for one button or one word.

Analogous

Its neighbors on the wheel. Calm, easy to use together.

Triadic

Three colors evenly spread. Lively, best with one in charge.

Pairs well in a brand

Red and text

Black text reads best on red: 5.25:1. The same numbers hold for red text on a white or a black page. Body text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.

TextContrastWCAG
AaWhite text on red3.99:1AA large
AaBlack text on red5.25:1AA
Text in the sample post
How red looks with color blindness

Other red hex codes

Pure red is loud, and few brands use it as it is. The reds you see on signs and packaging are usually a little darker or a little cooler, like crimson #DC143C or firebrick #B22222. On paper, a pure screen red cannot be printed exactly, so a printed red always comes out a touch different.

  • RedCSS named color: red. The code on this page#FF0000
  • CrimsonCSS named color: crimson#DC143C
  • FirebrickCSS named color: firebrick#B22222
  • Dark redCSS named color: darkred#8B0000
  • Indian redCSS named color: indianred#CD5C5C
  • Candy apple redCommon variant#FF0800

Red in a small business brand

Red pulls the eye first, which is why sales, food and sports brands like it. Use it for the one thing you want people to see: a price, a Book now button, a sale badge. A whole post in pure red tires the eye, so pair it with lots of white. Text on pure red is close: black reads better by the numbers, and white passes only for large, bold words.

FAQ

What is the hex code for red?

Red is #FF0000 as the CSS named color red. In RGB that is rgb(255, 0, 0), and in CMYK cmyk(0%, 100%, 100%, 0%).

What text color goes on red?

Black text, at a contrast of 5.25:1, which passes WCAG AA. White text reaches 3.99:1, enough for large text only.

What is the hex code for dark red?

CSS dark red is #8B0000, which is rgb(139, 0, 0). Crimson #DC143C and firebrick #B22222 sit between it and pure red.

Is white text on red readable?

Only when it is large and bold. White on #FF0000 is 3.99:1, enough for large text but under the 4.5:1 that body text needs. A darker red such as #B22222 lets white text pass for all sizes.

More color codes

All color codes

Keep your brand colors in one place

Add your brand colors once in Postfjord's design editor, under Settings, Brand, and every template can use them. Try it free.

Start free