#8E1F29#8E1F29

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

Color values

HEX#8E1F29
RGBrgb(142, 31, 41)
HSLhsl(355, 64%, 34%)
HSVhsv(355, 78%, 56%)
CMYKcmyk(0%, 78.2%, 71.1%, 44.3%)
CIE-LABlab(31.56, 46.15, 23.01)
CIE-LCHlch(31.56, 51.57, 26.50°)
OKLaboklab(42.79% 0.1357 0.0534)
OKLCHoklch(42.79% 0.146 21.5)
XYZxyz(12.0469, 6.8927, 2.7935)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F29 #1F8E84
analogous
#8E1F61 #8E1F29 #8E4D1F
triadic
#8E1F29 #298E1F #1F298E
tetradic
#8E1F29 #618E1F #1F8E84 #4D1F8E
square
#8E1F29 #618E1F #1F8E84 #4D1F8E
split-complementary
#8E1F29 #1F8E4D #1F618E
monochromatic
#2A090C #5C141A #8E1F29 #C02A38 #D94F5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8e1f29;
/* rgb */ color: rgb(142, 31, 41);
/* oklch */ color: oklch(42.8% 0.146 21.5);
Tailwind
colors: {
  custom: {
    50: '#b76562',
    500: '#8e1f29',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f29;
$custom-light: #b76562;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f29",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 354.595,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.14579,
    "h": 21.5
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#8E1F29
secondary
#4DBBB2
accent
#E7D841
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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