#8E2A17#8E2A17

#8E2A17 is a dark, vivid red. Relative luminance 0.075; OKLCH L 43.7% C 0.138 H 32.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E2A17
RGBrgb(142, 42, 23)
HSLhsl(10, 72%, 32%)
HSVhsv(10, 84%, 56%)
CMYKcmyk(0%, 70.4%, 83.8%, 44.3%)
CIE-LABlab(32.85, 41.22, 35.11)
CIE-LCHlch(32.85, 54.15, 40.42°)
OKLaboklab(43.69% 0.1162 0.075)
OKLCHoklch(43.69% 0.138 32.8)
XYZxyz(12.1394, 7.4704, 1.6132)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A17 #177B8E
analogous
#8E173F #8E2A17 #8E6617
triadic
#8E2A17 #178E2A #2A178E
tetradic
#8E2A17 #3F8E17 #177B8E #66178E
square
#8E2A17 #3F8E17 #177B8E #66178E
split-complementary
#8E2A17 #178E66 #173F8E
monochromatic
#250B06 #591A0E #8E2A17 #C33A20 #E0593F

Accessibility & contrast

On white

8.42
#8E2A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2A17
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A17#FFFFFF#000000##FFFFFF
##8E2A171.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#605512
Tritanopia (blue-blind)
#9D0527
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2a17;
/* rgb */ color: rgb(142, 42, 23);
/* oklch */ color: oklch(43.7% 0.138 32.8);
Tailwind
colors: {
  custom: {
    50: '#b76a56',
    500: '#8e2a17',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a17;
$custom-light: #b76a56;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a17",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 9.58,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.13834,
    "h": 32.8
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#8E2A17
secondary
#40ACC0
accent
#D2EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8E2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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