#8E1F2E#8E1F2E

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

Color values

HEX#8E1F2E
RGBrgb(142, 31, 46)
HSLhsl(352, 64%, 34%)
HSVhsv(352, 78%, 56%)
CMYKcmyk(0%, 78.2%, 67.6%, 44.3%)
CIE-LABlab(31.65, 46.43, 19.90)
CIE-LCHlch(31.65, 50.52, 23.20°)
OKLaboklab(42.89% 0.1377 0.0472)
OKLCHoklch(42.89% 0.146 18.9)
XYZxyz(12.1398, 6.9299, 3.2826)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F2E #1F8E7F
analogous
#8E1F66 #8E1F2E #8E481F
triadic
#8E1F2E #2E8E1F #1F2E8E
tetradic
#8E1F2E #668E1F #1F8E7F #481F8E
square
#8E1F2E #668E1F #1F8E7F #481F8E
split-complementary
#8E1F2E #1F8E48 #1F668E
monochromatic
#2A090D #5C141E #8E1F2E #C02A3E #D94F61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1F2E#FFFFFF#000000##FFFFFF
##8E1F2E1.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)
#3F3C2E
Deuteranopia (green-blind)
#5B532B
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f2e;
/* rgb */ color: rgb(142, 31, 46);
/* oklch */ color: oklch(42.9% 0.146 18.9);
Tailwind
colors: {
  custom: {
    50: '#b66566',
    500: '#8e1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f2e;
$custom-light: #b66566;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f2e",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 351.892,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.14554,
    "h": 18.9
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#8E1F2E
secondary
#4DBBAD
accent
#E7D141
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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