#8E1F2A#8E1F2A

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

Color values

HEX#8E1F2A
RGBrgb(142, 31, 42)
HSLhsl(354, 64%, 34%)
HSVhsv(354, 78%, 56%)
CMYKcmyk(0%, 78.2%, 70.4%, 44.3%)
CIE-LABlab(31.58, 46.21, 22.39)
CIE-LCHlch(31.58, 51.35, 25.86°)
OKLaboklab(42.81% 0.1361 0.0522)
OKLCHoklch(42.81% 0.146 21)
XYZxyz(12.0646, 6.8998, 2.8866)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F2A #1F8E83
analogous
#8E1F62 #8E1F2A #8E4C1F
triadic
#8E1F2A #2A8E1F #1F2A8E
tetradic
#8E1F2A #628E1F #1F8E83 #4C1F8E
square
#8E1F2A #628E1F #1F8E83 #4C1F8E
split-complementary
#8E1F2A #1F8E4C #1F628E
monochromatic
#2A090C #5C141B #8E1F2A #C02A39 #D94F5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1F2A#FFFFFF#000000##FFFFFF
##8E1F2A1.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)
#403B29
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f2a;
/* rgb */ color: rgb(142, 31, 42);
/* oklch */ color: oklch(42.8% 0.146 21.0);
Tailwind
colors: {
  custom: {
    50: '#b66563',
    500: '#8e1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f2a;
$custom-light: #b66563;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f2a",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 354.054,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.14572,
    "h": 21
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#8E1F2A
secondary
#4DBBB1
accent
#E7D741
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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