#8E2212#8E2212

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

Color values

HEX#8E2212
RGBrgb(142, 34, 18)
HSLhsl(8, 78%, 31%)
HSVhsv(8, 87%, 56%)
CMYKcmyk(0%, 76.1%, 87.3%, 44.3%)
CIE-LABlab(31.67, 44.22, 36.61)
CIE-LCHlch(31.67, 57.41, 39.62°)
OKLaboklab(42.79% 0.1246 0.0764)
OKLCHoklch(42.79% 0.146 31.5)
XYZxyz(11.8380, 6.9404, 1.2885)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2212 #127E8E
analogous
#8E1240 #8E2212 #8E6012
triadic
#8E2212 #128E22 #22128E
tetradic
#8E2212 #408E12 #127E8E #60128E
square
#8E2212 #408E12 #127E8E #60128E
split-complementary
#8E2212 #128E60 #12408E
monochromatic
#210804 #58150B #8E2212 #C42F19 #E54C35

Accessibility & contrast

On white

8.79
#8E2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2212
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2212#FFFFFF#000000##FFFFFF
##8E22121.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2212;
/* rgb */ color: rgb(142, 34, 18);
/* oklch */ color: oklch(42.8% 0.146 31.5);
Tailwind
colors: {
  custom: {
    50: '#b86652',
    500: '#8e2212',
    950: '#000000',
  },
}
SCSS
$custom: #8e2212;
$custom-light: #b86652;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2212",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 7.742,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42791,
    "c": 0.14617,
    "h": 31.5
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#8E2212
secondary
#3AB1C2
accent
#DBF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8E2212

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

Preview Lab → · Contrast checker → · Palette generator →

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