#8E1F22#8E1F22

#8E1F22 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 24.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8E1F22
RGBrgb(142, 31, 34)
HSLhsl(358, 64%, 34%)
HSVhsv(358, 78%, 56%)
CMYKcmyk(0%, 78.2%, 76.1%, 44.3%)
CIE-LABlab(31.46, 45.82, 27.30)
CIE-LCHlch(31.46, 53.33, 30.79°)
OKLaboklab(42.69% 0.133 0.0614)
OKLCHoklch(42.69% 0.146 24.8)
XYZxyz(11.9354, 6.8481, 2.2064)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F22 #1F8E8B
analogous
#8E1F5A #8E1F22 #8E541F
triadic
#8E1F22 #228E1F #1F228E
tetradic
#8E1F22 #5A8E1F #1F8E8B #541F8E
square
#8E1F22 #5A8E1F #1F8E8B #541F8E
split-complementary
#8E1F22 #1F8E54 #1F5A8E
monochromatic
#2A090A #5C1416 #8E1F22 #C02A2E #D94F53

Accessibility & contrast

On white

8.86
#8E1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F22
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F22#FFFFFF#000000##FFFFFF
##8E1F221.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1f22;
/* rgb */ color: rgb(142, 31, 34);
/* oklch */ color: oklch(42.7% 0.146 24.8);
Tailwind
colors: {
  custom: {
    50: '#b7655d',
    500: '#8e1f22',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f22;
$custom-light: #b7655d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f22",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.378,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.14645,
    "h": 24.8
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#8E1F22
secondary
#4DBBB8
accent
#E7E341
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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