#8E1818#8E1818

#8E1818 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 26.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8E1818
RGBrgb(142, 24, 24)
HSLhsl(0, 71%, 33%)
HSVhsv(0, 83%, 56%)
CMYKcmyk(0%, 83.1%, 83.1%, 44.3%)
CIE-LABlab(30.57, 47.61, 32.35)
CIE-LCHlch(30.57, 57.56, 34.20°)
OKLaboklab(41.99% 0.1364 0.0693)
OKLCHoklch(41.99% 0.153 26.9)
XYZxyz(11.6483, 6.4719, 1.4999)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1818 #188E8E
analogous
#8E1853 #8E1818 #8E5318
triadic
#8E1818 #188E18 #18188E
tetradic
#8E1818 #538E18 #188E8E #53188E
square
#8E1818 #538E18 #188E8E #53188E
split-complementary
#8E1818 #188E53 #18538E
monochromatic
#250606 #5A0F0F #8E1818 #C22121 #DF4141

Accessibility & contrast

On white

9.15
#8E1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1818
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1818#FFFFFF#000000##FFFFFF
##8E18181.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#9D001A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1818;
/* rgb */ color: rgb(142, 24, 24);
/* oklch */ color: oklch(42.0% 0.153 26.9);
Tailwind
colors: {
  custom: {
    50: '#b86256',
    500: '#8e1818',
    950: '#000000',
  },
}
SCSS
$custom: #8e1818;
$custom-light: #b86256;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1818",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.15301,
    "h": 26.9
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#8E1818
secondary
#42C0C0
accent
#EEEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1818

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

Preview Lab → · Contrast checker → · Palette generator →

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