⤺ color picker

#8b0000 Color Hex (dark red)

Hex color #8b0000, RGB(139, 0, 0) - also known as dark red - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #8b0000 is a shade of red. In a RGB color space it is composed of 54.51% red, 0% green and 0% blue. In HSL notation it has 0° hue, 100% saturation and 27.3% lightness. The process color (CMYK) is combination of 0% cyan, 100% magenta, 100% yellow and 45.49% key (black). The closest short hexadecimal code of #8b0000 is #800.

Color information

  • #8b0000 is a shade of red.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 100%
    • Yellow: 100%
    • Key color - black: 45.49%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 100%
    • Lightness: 27.3%
  • The values in the RGB color space are:
    • Red: 139 (54.51%)
    • Green: 0 (0%)
    • Blue: 0 (0%)


C: 0%, M: 100%, Y: 100%, K: 45.49%
R: 139, G: 0, B: 0
H: , S: 100%, L: 27.3%

Color harmonies

#8b0000 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #8b0000; }
.setBackgroundColor { background-color: #8b0000; }

#8b0000 text/font color

How to set font color?

<p style="color:#8b0000">Font color is #8b0000.</p>

Font color is #8b0000.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#8b0000 background color

How to set background color?

<div style="background-color:#8b0000">Background color is #8b0000.</div>

Background color is #8b0000.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore