#8E1236#8E1236

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

Color values

HEX#8E1236
RGBrgb(142, 18, 54)
HSLhsl(343, 78%, 31%)
HSVhsv(343, 87%, 56%)
CMYKcmyk(0%, 87.3%, 62%, 44.3%)
CIE-LABlab(30.52, 50.57, 13.18)
CIE-LCHlch(30.52, 52.26, 14.60°)
OKLaboklab(42.11% 0.1527 0.0325)
OKLCHoklch(42.11% 0.156 12)
XYZxyz(12.0388, 6.4516, 4.1007)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1236 #128E6A
analogous
#8E1274 #8E1236 #8E2C12
triadic
#8E1236 #368E12 #12368E
tetradic
#8E1236 #748E12 #128E6A #2C128E
square
#8E1236 #748E12 #128E6A #2C128E
split-complementary
#8E1236 #128E2C #12748E
monochromatic
#21040D #580B21 #8E1236 #C4194B #E53568

Accessibility & contrast

On white

9.17
#8E1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1236
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1236#FFFFFF#000000##FFFFFF
##8E12361.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1236;
/* rgb */ color: rgb(142, 18, 54);
/* oklch */ color: oklch(42.1% 0.156 12.0);
Tailwind
colors: {
  custom: {
    50: '#b6616c',
    500: '#8e1236',
    950: '#000000',
  },
}
SCSS
$custom: #8e1236;
$custom-light: #b6616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1236",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 342.581,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.1561,
    "h": 12
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#8E1236
secondary
#3AC29B
accent
#F4BC34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1236

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

Preview Lab → · Contrast checker → · Palette generator →

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