#8E1737#8E1737

#8E1737 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 12.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8E1737
RGBrgb(142, 23, 55)
HSLhsl(344, 72%, 32%)
HSVhsv(344, 84%, 56%)
CMYKcmyk(0%, 83.8%, 61.3%, 44.3%)
CIE-LABlab(30.98, 49.41, 13.12)
CIE-LCHlch(30.98, 51.12, 14.87°)
OKLaboklab(42.45% 0.1491 0.0324)
OKLCHoklch(42.45% 0.153 12.3)
XYZxyz(12.1526, 6.6412, 4.2557)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1737 #178E6E
analogous
#8E1772 #8E1737 #8E3317
triadic
#8E1737 #378E17 #17378E
tetradic
#8E1737 #728E17 #178E6E #33178E
square
#8E1737 #728E17 #178E6E #33178E
split-complementary
#8E1737 #178E33 #17728E
monochromatic
#25060E #590E23 #8E1737 #C3204B #E03F6B

Accessibility & contrast

On white

9.02
#8E1737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1737
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1737#FFFFFF#000000##FFFFFF
##8E17371.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3937
Deuteranopia (green-blind)
#585234
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1737;
/* rgb */ color: rgb(142, 23, 55);
/* oklch */ color: oklch(42.4% 0.153 12.3);
Tailwind
colors: {
  custom: {
    50: '#b6636d',
    500: '#8e1737',
    950: '#000000',
  },
}
SCSS
$custom: #8e1737;
$custom-light: #b6636d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1737",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 343.866,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.15262,
    "h": 12.3
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#8E1737
secondary
#40C09E
accent
#EFBE39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1737

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

Preview Lab → · Contrast checker → · Palette generator →

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