#8E1F2B#8E1F2B

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

Color values

HEX#8E1F2B
RGBrgb(142, 31, 43)
HSLhsl(354, 64%, 34%)
HSVhsv(354, 78%, 56%)
CMYKcmyk(0%, 78.2%, 69.7%, 44.3%)
CIE-LABlab(31.59, 46.26, 21.77)
CIE-LCHlch(31.59, 51.13, 25.21°)
OKLaboklab(42.83% 0.1364 0.051)
OKLCHoklch(42.83% 0.146 20.5)
XYZxyz(12.0827, 6.9070, 2.9820)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F2B #1F8E82
analogous
#8E1F63 #8E1F2B #8E4B1F
triadic
#8E1F2B #2B8E1F #1F2B8E
tetradic
#8E1F2B #638E1F #1F8E82 #4B1F8E
square
#8E1F2B #638E1F #1F8E82 #4B1F8E
split-complementary
#8E1F2B #1F8E4B #1F638E
monochromatic
#2A090D #5C141C #8E1F2B #C02A3A #D94F5E

Accessibility & contrast

On white

8.82
#8E1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F2B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F2B#FFFFFF#000000##FFFFFF
##8E1F2B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B2B
Deuteranopia (green-blind)
#5B5328
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f2b;
/* rgb */ color: rgb(142, 31, 43);
/* oklch */ color: oklch(42.8% 0.146 20.5);
Tailwind
colors: {
  custom: {
    50: '#b66564',
    500: '#8e1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f2b;
$custom-light: #b66564;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f2b",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 353.514,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.14566,
    "h": 20.5
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#8E1F2B
secondary
#4DBBB0
accent
#E7D541
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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