#8E152A#8E152A

#8E152A is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.154 H 18.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8E152A
RGBrgb(142, 21, 42)
HSLhsl(350, 74%, 32%)
HSVhsv(350, 85%, 56%)
CMYKcmyk(0%, 85.2%, 70.4%, 44.3%)
CIE-LABlab(30.54, 49.15, 21.11)
CIE-LCHlch(30.54, 53.49, 23.25°)
OKLaboklab(42.04% 0.1455 0.0493)
OKLCHoklch(42.04% 0.154 18.7)
XYZxyz(11.8428, 6.4562, 2.8126)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E152A #158E79
analogous
#8E1567 #8E152A #8E3D15
triadic
#8E152A #2A8E15 #152A8E
tetradic
#8E152A #678E15 #158E79 #3D158E
square
#8E152A #678E15 #158E79 #3D158E
split-complementary
#8E152A #158E3D #15678E
monochromatic
#23050A #590D1A #8E152A #C31D3A #E23B58

Accessibility & contrast

On white

9.17
#8E152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E152A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E152A#FFFFFF#000000##FFFFFF
##8E152A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382A
Deuteranopia (green-blind)
#595126
Tritanopia (blue-blind)
#9D001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e152a;
/* rgb */ color: rgb(142, 21, 42);
/* oklch */ color: oklch(42.0% 0.154 18.7);
Tailwind
colors: {
  custom: {
    50: '#b76263',
    500: '#8e152a',
    950: '#000000',
  },
}
SCSS
$custom: #8e152a;
$custom-light: #b76263;
$custom-dark: #000000;
JSON
{
  "hex": "#8e152a",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 349.587,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.15362,
    "h": 18.7
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#8E152A
secondary
#3DC2AB
accent
#F1D137
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E152A

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

Preview Lab → · Contrast checker → · Palette generator →

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