#8E2218#8E2218

#8E2218 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.145 H 29.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8E2218
RGBrgb(142, 34, 24)
HSLhsl(5, 71%, 33%)
HSVhsv(5, 83%, 56%)
CMYKcmyk(0%, 76.1%, 83.1%, 44.3%)
CIE-LABlab(31.72, 44.39, 33.48)
CIE-LCHlch(31.72, 55.60, 37.02°)
OKLaboklab(42.85% 0.1263 0.0718)
OKLCHoklch(42.85% 0.145 29.6)
XYZxyz(11.8937, 6.9627, 1.5817)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2218 #18848E
analogous
#8E1849 #8E2218 #8E5D18
triadic
#8E2218 #188E22 #22188E
tetradic
#8E2218 #498E18 #18848E #5D188E
square
#8E2218 #498E18 #18848E #5D188E
split-complementary
#8E2218 #188E5D #18498E
monochromatic
#250906 #5A150F #8E2218 #C22F21 #DF4F41

Accessibility & contrast

On white

8.78
#8E2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2218
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2218#FFFFFF#000000##FFFFFF
##8E22181.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B16
Deuteranopia (green-blind)
#5E5313
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2218;
/* rgb */ color: rgb(142, 34, 24);
/* oklch */ color: oklch(42.8% 0.145 29.6);
Tailwind
colors: {
  custom: {
    50: '#b86656',
    500: '#8e2218',
    950: '#000000',
  },
}
SCSS
$custom: #8e2218;
$custom-light: #b86656;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2218",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 5.085,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.14528,
    "h": 29.6
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#8E2218
secondary
#42B5C0
accent
#DFEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8E2218

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

Preview Lab → · Contrast checker → · Palette generator →

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