#8E1738#8E1738

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

Color values

HEX#8E1738
RGBrgb(142, 23, 56)
HSLhsl(343, 72%, 32%)
HSVhsv(343, 84%, 56%)
CMYKcmyk(0%, 83.8%, 60.6%, 44.3%)
CIE-LABlab(31.00, 49.48, 12.49)
CIE-LCHlch(31.00, 51.03, 14.16°)
OKLaboklab(42.47% 0.1495 0.031)
OKLCHoklch(42.47% 0.153 11.7)
XYZxyz(12.1768, 6.6509, 4.3832)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1738 #178E6D
analogous
#8E1774 #8E1738 #8E3117
triadic
#8E1738 #388E17 #17388E
tetradic
#8E1738 #748E17 #178E6D #31178E
square
#8E1738 #748E17 #178E6D #31178E
split-complementary
#8E1738 #178E31 #17748E
monochromatic
#25060E #590E23 #8E1738 #C3204D #E03F6C

Accessibility & contrast

On white

9.01
#8E1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1738
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1738#FFFFFF#000000##FFFFFF
##8E17381.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1738;
/* rgb */ color: rgb(142, 23, 56);
/* oklch */ color: oklch(42.5% 0.153 11.7);
Tailwind
colors: {
  custom: {
    50: '#b6636e',
    500: '#8e1738',
    950: '#000000',
  },
}
SCSS
$custom: #8e1738;
$custom-light: #b6636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1738",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 343.361,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.15272,
    "h": 11.7
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#8E1738
secondary
#40C09D
accent
#EFBC39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1738

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

Preview Lab → · Contrast checker → · Palette generator →

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