#8E1243#8E1243

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

Color values

HEX#8E1243
RGBrgb(142, 18, 67)
HSLhsl(336, 78%, 31%)
HSVhsv(336, 87%, 56%)
CMYKcmyk(0%, 87.3%, 52.8%, 44.3%)
CIE-LABlab(30.86, 51.53, 4.98)
CIE-LCHlch(30.86, 51.77, 5.52°)
OKLaboklab(42.46% 0.1579 0.0131)
OKLCHoklch(42.46% 0.158 4.7)
XYZxyz(12.3859, 6.5904, 5.9290)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1243 #128E5D
analogous
#8E1281 #8E1243 #8E1F12
triadic
#8E1243 #438E12 #12438E
tetradic
#8E1243 #818E12 #128E5D #1F128E
square
#8E1243 #818E12 #128E5D #1F128E
split-complementary
#8E1243 #128E1F #12818E
monochromatic
#210410 #580B29 #8E1243 #C4195D #E5357B

Accessibility & contrast

On white

9.06
#8E1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1243
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1243#FFFFFF#000000##FFFFFF
##8E12431.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1243;
/* rgb */ color: rgb(142, 18, 67);
/* oklch */ color: oklch(42.5% 0.158 4.7);
Tailwind
colors: {
  custom: {
    50: '#b56176',
    500: '#8e1243',
    950: '#000000',
  },
}
SCSS
$custom: #8e1243;
$custom-light: #b56176;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1243",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 336.29,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.15839,
    "h": 4.7
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#8E1243
secondary
#3AC28C
accent
#F4A834
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1243

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

Preview Lab → · Contrast checker → · Palette generator →

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