#8E2121#8E2121

#8E2121 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.9% C 0.145 H 25.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8E2121
RGBrgb(142, 33, 33)
HSLhsl(0, 62%, 34%)
HSVhsv(0, 77%, 56%)
CMYKcmyk(0%, 76.8%, 76.8%, 44.3%)
CIE-LABlab(31.69, 45.08, 28.18)
CIE-LCHlch(31.69, 53.17, 32.00°)
OKLaboklab(42.86% 0.1304 0.063)
OKLCHoklch(42.86% 0.145 25.8)
XYZxyz(11.9751, 6.9502, 2.1495)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2121 #218E8E
analogous
#8E2158 #8E2121 #8E5821
triadic
#8E2121 #218E21 #21218E
tetradic
#8E2121 #588E21 #218E8E #58218E
square
#8E2121 #588E21 #218E8E #58218E
split-complementary
#8E2121 #218E58 #21588E
monochromatic
#2B0A0A #5C1515 #8E2121 #C02D2D #D75252

Accessibility & contrast

On white

8.79
#8E2121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E2121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2121
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2121#FFFFFF#000000##FFFFFF
##8E21211.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B20
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2121;
/* rgb */ color: rgb(142, 33, 33);
/* oklch */ color: oklch(42.9% 0.145 25.8);
Tailwind
colors: {
  custom: {
    50: '#b7665c',
    500: '#8e2121',
    950: '#000000',
  },
}
SCSS
$custom: #8e2121;
$custom-light: #b7665c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2121",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.14486,
    "h": 25.8
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#8E2121
secondary
#50BABA
accent
#E5E542
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E2121

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E2121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva