#8E1918#8E1918

#8E1918 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.152 H 27.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8E1918
RGBrgb(142, 25, 24)
HSLhsl(1, 71%, 33%)
HSVhsv(1, 83%, 56%)
CMYKcmyk(0%, 82.4%, 83.1%, 44.3%)
CIE-LABlab(30.67, 47.33, 32.45)
CIE-LCHlch(30.67, 57.39, 34.44°)
OKLaboklab(42.07% 0.1355 0.0695)
OKLCHoklch(42.07% 0.152 27.2)
XYZxyz(11.6693, 6.5139, 1.5069)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1918 #188D8E
analogous
#8E1852 #8E1918 #8E5418
triadic
#8E1918 #188E19 #19188E
tetradic
#8E1918 #528E18 #188D8E #54188E
square
#8E1918 #528E18 #188D8E #54188E
split-complementary
#8E1918 #188E54 #18528E
monochromatic
#250706 #5A100F #8E1918 #C22221 #DF4341

Accessibility & contrast

On white

9.12
#8E1918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8E1918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1918
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1918#FFFFFF#000000##FFFFFF
##8E19181.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1918;
/* rgb */ color: rgb(142, 25, 24);
/* oklch */ color: oklch(42.1% 0.152 27.2);
Tailwind
colors: {
  custom: {
    50: '#b86256',
    500: '#8e1918',
    950: '#000000',
  },
}
SCSS
$custom: #8e1918;
$custom-light: #b86256;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1918",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.508,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42065,
    "c": 0.15231,
    "h": 27.2
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#8E1918
secondary
#42BFC0
accent
#ECEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E1918

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

Preview Lab → · Contrast checker → · Palette generator →

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