#8E1F2C#8E1F2C

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

Color values

HEX#8E1F2C
RGBrgb(142, 31, 44)
HSLhsl(353, 64%, 34%)
HSVhsv(353, 78%, 56%)
CMYKcmyk(0%, 78.2%, 69%, 44.3%)
CIE-LABlab(31.61, 46.32, 21.15)
CIE-LCHlch(31.61, 50.92, 24.54°)
OKLaboklab(42.85% 0.1369 0.0497)
OKLCHoklch(42.85% 0.146 20)
XYZxyz(12.1013, 6.9144, 3.0798)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F2C #1F8E81
analogous
#8E1F64 #8E1F2C #8E4A1F
triadic
#8E1F2C #2C8E1F #1F2C8E
tetradic
#8E1F2C #648E1F #1F8E81 #4A1F8E
square
#8E1F2C #648E1F #1F8E81 #4A1F8E
split-complementary
#8E1F2C #1F8E4A #1F648E
monochromatic
#2A090D #5C141C #8E1F2C #C02A3C #D94F5F

Accessibility & contrast

On white

8.81
#8E1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F2C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F2C#FFFFFF#000000##FFFFFF
##8E1F2C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#5B5329
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1f2c;
/* rgb */ color: rgb(142, 31, 44);
/* oklch */ color: oklch(42.8% 0.146 20.0);
Tailwind
colors: {
  custom: {
    50: '#b66565',
    500: '#8e1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f2c;
$custom-light: #b66565;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f2c",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 352.973,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.14561,
    "h": 20
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#8E1F2C
secondary
#4DBBAF
accent
#E7D441
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #8E1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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