#8E1F2F#8E1F2F

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

Color values

HEX#8E1F2F
RGBrgb(142, 31, 47)
HSLhsl(351, 64%, 34%)
HSVhsv(351, 78%, 56%)
CMYKcmyk(0%, 78.2%, 66.9%, 44.3%)
CIE-LABlab(31.66, 46.49, 19.28)
CIE-LCHlch(31.66, 50.33, 22.52°)
OKLaboklab(42.9% 0.1381 0.0459)
OKLCHoklch(42.9% 0.146 18.4)
XYZxyz(12.1597, 6.9378, 3.3876)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F2F #1F8E7E
analogous
#8E1F67 #8E1F2F #8E471F
triadic
#8E1F2F #2F8E1F #1F2F8E
tetradic
#8E1F2F #678E1F #1F8E7E #471F8E
square
#8E1F2F #678E1F #1F8E7E #471F8E
split-complementary
#8E1F2F #1F8E47 #1F678E
monochromatic
#2A090E #5C141E #8E1F2F #C02A40 #D94F63

Accessibility & contrast

On white

8.80
#8E1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F2F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F2F#FFFFFF#000000##FFFFFF
##8E1F2F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C2F
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f2f;
/* rgb */ color: rgb(142, 31, 47);
/* oklch */ color: oklch(42.9% 0.146 18.4);
Tailwind
colors: {
  custom: {
    50: '#b66567',
    500: '#8e1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f2f;
$custom-light: #b66567;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f2f",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 351.351,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.14551,
    "h": 18.4
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#8E1F2F
secondary
#4DBBAC
accent
#E7CF41
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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