Skip to content

Dark Red

Hex #8B0000, rgb(139 0 0). A red CSS named color.

Open in palette generator

Dark Red color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Dark Red

Dark Red is a dark saturated red with the hex code #8B0000. In RGB it is made of 139 red, 0 green and 0 blue; in HSL its hue is 0°, with 100% saturation and 27% lightness. Its perceptual lightness (OKLCH L) is 40.0%.

It is a CSS named color, so you can write "darkred" anywhere CSS accepts a color. Against white it has a contrast ratio of 10.01:1 and against black 2.10:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Dark Red mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Dark Red 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Dark Red

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Monochromatic

Contrast and readability

WCAG 2 contrast of Dark Red with white and black. The readable text color on Dark Red is white.

Dark Red textSmall text on white

On white10.01:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc 91

Dark Red textSmall text on black

On black2.10:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc -12

White text on Dark Red (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Dark Red appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#383000
  • Deuteranopia#574C00
  • Tritanopia#9A0004
  • Protanomaly#592D00
  • Deuteranomaly#654100
  • Tritanomaly#920001
  • Achromatopsia#424242

Colors similar to Dark Red

The closest named colors by perceptual difference (OKLab).

Use Dark Red in CSS and Tailwind

CSS
.dark-red {
  color: darkred; /* #8B0000 */
  background-color: rgb(139 0 0);
  border-color: oklch(40% 0.164 29.2);
}
Tailwind CSS
/* Tailwind CSS v4: bg-dark-red-500, text-dark-red-700... */
@theme {
  --color-dark-red-50: #FFF8F7;
  --color-dark-red-100: #FFE8E5;
  --color-dark-red-200: #FFD1C9;
  --color-dark-red-300: #FFAB9E;
  --color-dark-red-400: #FF6E5D;
  --color-dark-red-500: #FF2F23;
  --color-dark-red-600: #E80000;
  --color-dark-red-700: #C20000;
  --color-dark-red-800: #A30000;
  --color-dark-red-900: #8B0000;
  --color-dark-red-950: #330000;
}

<!-- or the exact color, no config -->
<div class="bg-[#8B0000] text-[#FFFFFF]">…</div>