#8E2021#8E2021

#8E2021 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.146 H 25.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8E2021
RGBrgb(142, 32, 33)
HSLhsl(359, 63%, 34%)
HSVhsv(359, 77%, 56%)
CMYKcmyk(0%, 77.5%, 76.8%, 44.3%)
CIE-LABlab(31.57, 45.43, 28.04)
CIE-LCHlch(31.57, 53.39, 31.68°)
OKLaboklab(42.76% 0.1315 0.0627)
OKLCHoklch(42.76% 0.146 25.5)
XYZxyz(11.9478, 6.8955, 2.1404)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2021 #208E8D
analogous
#8E2058 #8E2021 #8E5620
triadic
#8E2021 #218E20 #20218E
tetradic
#8E2021 #588E20 #208E8D #56208E
square
#8E2021 #588E20 #208E8D #56208E
split-complementary
#8E2021 #208E56 #20588E
monochromatic
#2A090A #5C1515 #8E2021 #C02B2D #D85152

Accessibility & contrast

On white

8.83
#8E2021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E2021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2021
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2021#FFFFFF#000000##FFFFFF
##8E20211.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B20
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e2021;
/* rgb */ color: rgb(142, 32, 33);
/* oklch */ color: oklch(42.8% 0.146 25.5);
Tailwind
colors: {
  custom: {
    50: '#b7655c',
    500: '#8e2021',
    950: '#000000',
  },
}
SCSS
$custom: #8e2021;
$custom-light: #b7655c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2021",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42762,
    "c": 0.14573,
    "h": 25.5
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#8E2021
secondary
#4FBBBA
accent
#E6E542
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E2021

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

Preview Lab → · Contrast checker → · Palette generator →

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