#8E2223#8E2223

#8E2223 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.144 H 25.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2223
RGBrgb(142, 34, 35)
HSLhsl(359, 61%, 35%)
HSVhsv(359, 76%, 56%)
CMYKcmyk(0%, 76.1%, 75.4%, 44.3%)
CIE-LABlab(31.85, 44.82, 27.12)
CIE-LCHlch(31.85, 52.38, 31.18°)
OKLaboklab(42.98% 0.13 0.0612)
OKLCHoklch(42.98% 0.144 25.2)
XYZxyz(12.0321, 7.0180, 2.3109)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2223 #228E8D
analogous
#8E2259 #8E2223 #8E5722
triadic
#8E2223 #238E22 #22238E
tetradic
#8E2223 #598E22 #228E8D #57228E
square
#8E2223 #598E22 #228E8D #57228E
split-complementary
#8E2223 #228E57 #22598E
monochromatic
#2B0A0B #5D1617 #8E2223 #BF2E2F #D65455

Accessibility & contrast

On white

8.74
#8E2223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E2223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2223
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2223#FFFFFF#000000##FFFFFF
##8E22231.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C22
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2223;
/* rgb */ color: rgb(142, 34, 35);
/* oklch */ color: oklch(43.0% 0.144 25.2);
Tailwind
colors: {
  custom: {
    50: '#b7665e',
    500: '#8e2223',
    950: '#000000',
  },
}
SCSS
$custom: #8e2223;
$custom-light: #b7665e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2223",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.14372,
    "h": 25.2
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#8E2223
secondary
#52BAB9
accent
#E4E343
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8E2223

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

Preview Lab → · Contrast checker → · Palette generator →

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