#8E1741#8E1741

#8E1741 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.154 H 6.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8E1741
RGBrgb(142, 23, 65)
HSLhsl(339, 72%, 32%)
HSVhsv(339, 84%, 56%)
CMYKcmyk(0%, 83.8%, 54.2%, 44.3%)
CIE-LABlab(31.22, 50.15, 6.83)
CIE-LCHlch(31.22, 50.62, 7.75°)
OKLaboklab(42.71% 0.1532 0.0177)
OKLCHoklch(42.71% 0.154 6.6)
XYZxyz(12.4170, 6.7470, 5.6485)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1741 #178E64
analogous
#8E177C #8E1741 #8E2917
triadic
#8E1741 #418E17 #17418E
tetradic
#8E1741 #7C8E17 #178E64 #29178E
square
#8E1741 #7C8E17 #178E64 #29178E
split-complementary
#8E1741 #178E29 #177C8E
monochromatic
#250611 #590E29 #8E1741 #C32059 #E03F78

Accessibility & contrast

On white

8.94
#8E1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1741
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1741#FFFFFF#000000##FFFFFF
##8E17411.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A42
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1741;
/* rgb */ color: rgb(142, 23, 65);
/* oklch */ color: oklch(42.7% 0.154 6.6);
Tailwind
colors: {
  custom: {
    50: '#b56375',
    500: '#8e1741',
    950: '#000000',
  },
}
SCSS
$custom: #8e1741;
$custom-light: #b56375;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1741",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 338.824,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.15416,
    "h": 6.6
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#8E1741
secondary
#40C093
accent
#EFAF39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1741

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

Preview Lab → · Contrast checker → · Palette generator →

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