#8E2A12#8E2A12

#8E2A12 is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.6% C 0.139 H 34.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8E2A12
RGBrgb(142, 42, 18)
HSLhsl(12, 78%, 31%)
HSVhsv(12, 87%, 56%)
CMYKcmyk(0%, 70.4%, 87.3%, 44.3%)
CIE-LABlab(32.81, 41.08, 37.60)
CIE-LCHlch(32.81, 55.69, 42.47°)
OKLaboklab(43.65% 0.1149 0.0786)
OKLCHoklch(43.65% 0.139 34.4)
XYZxyz(12.0939, 7.4522, 1.3738)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A12 #12768E
analogous
#8E1238 #8E2A12 #8E6812
triadic
#8E2A12 #128E2A #2A128E
tetradic
#8E2A12 #388E12 #12768E #68128E
square
#8E2A12 #388E12 #12768E #68128E
split-complementary
#8E2A12 #128E68 #12388E
monochromatic
#210A04 #581A0B #8E2A12 #C43A19 #E55735

Accessibility & contrast

On white

8.43
#8E2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A12
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A12#FFFFFF#000000##FFFFFF
##8E2A121.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0D
Deuteranopia (green-blind)
#60550C
Tritanopia (blue-blind)
#9D0426
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2a12;
/* rgb */ color: rgb(142, 42, 18);
/* oklch */ color: oklch(43.6% 0.139 34.4);
Tailwind
colors: {
  custom: {
    50: '#b86a53',
    500: '#8e2a12',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a12;
$custom-light: #b86a53;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a12",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 11.613,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.13922,
    "h": 34.4
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#8E2A12
secondary
#3AA8C2
accent
#CFF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130702
muted
#827A78

Preview Lab

Preview with #8E2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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