HTML color codes for red - hexadecimal + RGB

Discover all HTML codes for the color red - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of red color.

#ff0000

códigos del color red

Complementary color of red:

The complementary color of a color is the opposite of it on the color wheel (chromatic circle)

#00ffff

Monochromatic scheme of the color red

#7f0000
#a20003
#c60003
#ec0001
#ff3616
#ff6336
#ff8554
#ffa372

This scheme is based on the color red and is composed of different hues, tones, and shades, both dark and light.

HTML and CSS codes for the color red

formatcode
hex#ff0000
rgbrgb(255,0,0)
hslhsl(0,100%,50%)
cmykcmyk(0, 100, 100, 0)
hsvhsv(0, 100%, 100%)

What is the red color in RGB format?

The red color in RGB format is composed of (255 in the red channel), (0 in the green channel), and (0 in the blue channel).

What is the red color in CMYK format?

It is composed of (0%) cyan, (100%) magenta, (100%) yellow, and (0%) black / key.

What is the composition of the red color in HSL?

It is composed of (0°) hue, (100%) saturation, and (50%) lightness.

What is the red color in HSV format?

The red color in HSV format is composed of (0°) hue, (100%) saturation, and (100%) value.

Analogous scheme of the color red

Analogous colors are obtained from the two closest colors within the color wheel.

#ff0000
#ff8000
#ff0080

Triadic scheme of the color red

The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel

#ff0000
#00ff00
#0000ff

Tetradic scheme of the color red

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#ff0000
#80ff00
#00ffff
#7f00ff

Split complementary scheme of the color red

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#ff0000
#ccff00
#0066ff

Tints of the color red

Tints are obtained from the base color red up to reaching white, finding in between shades of pastel colors.

#ff0000
#ff3333
#ff6666
#ff9999
#ffcccc
#ffffff

Shades of the color red

These shades are obtained from the base color red up to reaching black.

#ff0000
#cc0000
#990000
#660000
#330000
#000000

Check the contrast of the color red.

You can now validate the contrast relationship of the color red, whether using it as a background color or as a text color.

Change the text color.
Contrast ratio: 4.00

Contrast ratio test of the color red as a background

Change the background color
Contrast ratio: 3.91

Contrast ratio test of the color red as text.

How to implement the color red in HTML and CSS

Here are examples of code to use the red on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).

Background color red in HTML - CSS.

To set the background color, you can use inline styles or apply them in a CSS stylesheet

<div style="background:#ff0000;"> Color red as the background of a div.</div>
/* Color red as the background of the body tag with CSS. */
body {
background: #ff0000;
}

To set the text color red in HTML - CSS.

To set the text color, you can use inline styles or apply them in a CSS stylesheet.

<p style="color:#ff0000;"> Color red as the text color.</p>
p {
color:#ff0000 ;
}