#8E2118#8E2118

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

Color values

HEX#8E2118
RGBrgb(142, 33, 24)
HSLhsl(5, 71%, 33%)
HSVhsv(5, 83%, 56%)
CMYKcmyk(0%, 76.8%, 83.1%, 44.3%)
CIE-LABlab(31.59, 44.75, 33.35)
CIE-LCHlch(31.59, 55.81, 36.70°)
OKLaboklab(42.75% 0.1274 0.0715)
OKLCHoklch(42.75% 0.146 29.3)
XYZxyz(11.8655, 6.9063, 1.5723)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2118 #18858E
analogous
#8E184A #8E2118 #8E5C18
triadic
#8E2118 #188E21 #21188E
tetradic
#8E2118 #4A8E18 #18858E #5C188E
square
#8E2118 #4A8E18 #18858E #5C188E
split-complementary
#8E2118 #188E5C #184A8E
monochromatic
#250906 #5A150F #8E2118 #C22D21 #DF4D41

Accessibility & contrast

On white

8.82
#8E2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2118
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2118#FFFFFF#000000##FFFFFF
##8E21181.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B16
Deuteranopia (green-blind)
#5D5313
Tritanopia (blue-blind)
#9D0020
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e2118;
/* rgb */ color: rgb(142, 33, 24);
/* oklch */ color: oklch(42.7% 0.146 29.3);
Tailwind
colors: {
  custom: {
    50: '#b86656',
    500: '#8e2118',
    950: '#000000',
  },
}
SCSS
$custom: #8e2118;
$custom-light: #b86656;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2118",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.576,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.14613,
    "h": 29.3
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#8E2118
secondary
#42B6C0
accent
#E0EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2118

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

Preview Lab → · Contrast checker → · Palette generator →

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