Add to Chrome

Red color: hex codes, shades and palettes

Palettes built around red. Click any swatch to copy its hex code.

Red is #FF0000, vivid red. Below are its shades with hex codes, the values in every common format, and red color palettes to copy.

Red hex, RGB, HSL and OKLCH

#FF0000
HEX
#FF0000
RGB
rgb(255, 0, 0)
HSL
hsl(0, 100%, 50%)
OKLCH
oklch(62.8% 0.258 29.2)
On white
4.00:1
On black
5.25:1

Shades of red

9 steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Red color values

#FF0000rgb(255, 0, 0)
Color spaces of #ff0000
RGB25500
HSL100%50%
HSV100%100%
CMYK0.001.001.000.00
XYZ41.245621.26731.9334
Yxy21.26730.64000.3300
CIE-Lab53.240880.092567.2032
Hunter Lab46.116578.943029.7959
OKLCH62.8%0.25829.2°

#FF0000 is 255 red, 0 green and 0 blue. Its red channel carries the most of it. The nearest of the 216 web safe colors is #FF0000.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary111111110000000000000000
Octal37700
Decimal25500
HexFF0000

#ff0000 mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #FF0000
  • #E50000
  • #CC0000
  • #B20000
  • #990000
  • #7F0000
  • #660000
  • #4C0000
  • #320000
  • #190000
  • #000000

#ff0000 mixed with white

The tint ramp, by the same rule in the other direction.

  • #FF0000
  • #FF1919
  • #FF3333
  • #FF4C4C
  • #FF6666
  • #FF7F7F
  • #FF9999
  • #FFB2B2
  • #FFCCCC
  • #FFE5E5
  • #FFFFFF

Channel shares

  • Red100.0%
  • Green0.0%
  • Blue0.0%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #FF0000
  • #009AAC

Triadic

  • #FF0000
  • #00A447
  • #597BFF

Analogous

  • #FF0000
  • #C86E00
  • #F40084

Monochromatic

  • #4F0000
  • #850000
  • #C00000
  • #FF0000
  • #FF8473
  • #FFC3B9
  • #FFF6F5

#ff0000 on black and on white

The quick brown fox jumps over the lazy dog. 5.25:1

The quick brown fox jumps over the lazy dog. 4.00:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #ff0000

color: #ff0000;
background-color: #ff0000;
border: 3px solid #ff0000;
box-shadow: 1px 1px 3px 2px #ff0000;
text-shadow: 4px 4px 2px rgba(255, 0, 0, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(62.8% 0.258 29.2);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands it.

Contrast and readability

Red on white measures 4.00:1 and on black 5.25:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.89:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors: crimson, maroon, burgundy, salmon, wine. See every shade on the colors index.

Get Palette Vault from the Microsoft Store