#8E1237#8E1237

#8E1237 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.156 H 11.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1237
RGBrgb(142, 18, 55)
HSLhsl(342, 78%, 31%)
HSVhsv(342, 87%, 56%)
CMYKcmyk(0%, 87.3%, 61.3%, 44.3%)
CIE-LABlab(30.55, 50.63, 12.54)
CIE-LCHlch(30.55, 52.16, 13.91°)
OKLaboklab(42.13% 0.1531 0.031)
OKLCHoklch(42.13% 0.156 11.5)
XYZxyz(12.0625, 6.4611, 4.2257)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1237 #128E69
analogous
#8E1275 #8E1237 #8E2B12
triadic
#8E1237 #378E12 #12378E
tetradic
#8E1237 #758E12 #128E69 #2B128E
square
#8E1237 #758E12 #128E69 #2B128E
split-complementary
#8E1237 #128E2B #12758E
monochromatic
#21040D #580B22 #8E1237 #C4194C #E5356A

Accessibility & contrast

On white

9.16
#8E1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1237
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1237#FFFFFF#000000##FFFFFF
##8E12371.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383837
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1237;
/* rgb */ color: rgb(142, 18, 55);
/* oklch */ color: oklch(42.1% 0.156 11.5);
Tailwind
colors: {
  custom: {
    50: '#b6616d',
    500: '#8e1237',
    950: '#000000',
  },
}
SCSS
$custom: #8e1237;
$custom-light: #b6616d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1237",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 342.097,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.15621,
    "h": 11.5
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#8E1237
secondary
#3AC299
accent
#F4BB34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1237

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

Preview Lab → · Contrast checker → · Palette generator →

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