#8E1743#8E1743

#8E1743 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 5.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1743
RGBrgb(142, 23, 67)
HSLhsl(338, 72%, 32%)
HSVhsv(338, 84%, 56%)
CMYKcmyk(0%, 83.8%, 52.8%, 44.3%)
CIE-LABlab(31.28, 50.32, 5.58)
CIE-LCHlch(31.28, 50.63, 6.33°)
OKLaboklab(42.77% 0.1539 0.0146)
OKLCHoklch(42.77% 0.155 5.4)
XYZxyz(12.4760, 6.7706, 5.9590)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1743 #178E62
analogous
#8E177F #8E1743 #8E2617
triadic
#8E1743 #438E17 #17438E
tetradic
#8E1743 #7F8E17 #178E62 #26178E
square
#8E1743 #7F8E17 #178E62 #26178E
split-complementary
#8E1743 #178E26 #177F8E
monochromatic
#250611 #590E2A #8E1743 #C3205C #E03F7B

Accessibility & contrast

On white

8.92
#8E1743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1743
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1743#FFFFFF#000000##FFFFFF
##8E17431.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B44
Deuteranopia (green-blind)
#565240
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1743;
/* rgb */ color: rgb(142, 23, 67);
/* oklch */ color: oklch(42.8% 0.155 5.4);
Tailwind
colors: {
  custom: {
    50: '#b56376',
    500: '#8e1743',
    950: '#000000',
  },
}
SCSS
$custom: #8e1743;
$custom-light: #b56376;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1743",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 67
  },
  "hsl": {
    "h": 337.815,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.15462,
    "h": 5.4
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#8E1743
secondary
#40C091
accent
#EFAC39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1743

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

Preview Lab → · Contrast checker → · Palette generator →

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