#8E152B#8E152B

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

Color values

HEX#8E152B
RGBrgb(142, 21, 43)
HSLhsl(349, 74%, 32%)
HSVhsv(349, 85%, 56%)
CMYKcmyk(0%, 85.2%, 69.7%, 44.3%)
CIE-LABlab(30.55, 49.20, 20.48)
CIE-LCHlch(30.55, 53.29, 22.60°)
OKLaboklab(42.06% 0.1459 0.0481)
OKLCHoklch(42.06% 0.154 18.2)
XYZxyz(11.8609, 6.4634, 2.9081)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E152B #158E78
analogous
#8E1568 #8E152B #8E3C15
triadic
#8E152B #2B8E15 #152B8E
tetradic
#8E152B #688E15 #158E78 #3C158E
square
#8E152B #688E15 #158E78 #3C158E
split-complementary
#8E152B #158E3C #15688E
monochromatic
#23050B #590D1B #8E152B #C31D3B #E23B5A

Accessibility & contrast

On white

9.16
#8E152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E152B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E152B#FFFFFF#000000##FFFFFF
##8E152B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382B
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#9C001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e152b;
/* rgb */ color: rgb(142, 21, 43);
/* oklch */ color: oklch(42.1% 0.154 18.2);
Tailwind
colors: {
  custom: {
    50: '#b76264',
    500: '#8e152b',
    950: '#000000',
  },
}
SCSS
$custom: #8e152b;
$custom-light: #b76264;
$custom-dark: #000000;
JSON
{
  "hex": "#8e152b",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 349.091,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.1536,
    "h": 18.2
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#8E152B
secondary
#3DC2AA
accent
#F1CF37
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E152B

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

Preview Lab → · Contrast checker → · Palette generator →

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