#8E1F26#8E1F26

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

Color values

HEX#8E1F26
RGBrgb(142, 31, 38)
HSLhsl(356, 64%, 34%)
HSVhsv(356, 78%, 56%)
CMYKcmyk(0%, 78.2%, 73.2%, 44.3%)
CIE-LABlab(31.52, 46.00, 24.86)
CIE-LCHlch(31.52, 52.29, 28.39°)
OKLaboklab(42.75% 0.1345 0.057)
OKLCHoklch(42.75% 0.146 23)
XYZxyz(11.9965, 6.8726, 2.5282)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F26 #1F8E87
analogous
#8E1F5E #8E1F26 #8E501F
triadic
#8E1F26 #268E1F #1F268E
tetradic
#8E1F26 #5E8E1F #1F8E87 #501F8E
square
#8E1F26 #5E8E1F #1F8E87 #501F8E
split-complementary
#8E1F26 #1F8E50 #1F5E8E
monochromatic
#2A090B #5C1419 #8E1F26 #C02A33 #D94F58

Accessibility & contrast

On white

8.85
#8E1F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F26
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F26#FFFFFF#000000##FFFFFF
##8E1F261.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B25
Deuteranopia (green-blind)
#5C5322
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f26;
/* rgb */ color: rgb(142, 31, 38);
/* oklch */ color: oklch(42.7% 0.146 23.0);
Tailwind
colors: {
  custom: {
    50: '#b76560',
    500: '#8e1f26',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f26;
$custom-light: #b76560;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f26",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.216,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.14604,
    "h": 23
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#8E1F26
secondary
#4DBBB5
accent
#E7DD41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1F26

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

Preview Lab → · Contrast checker → · Palette generator →

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