#8E1249#8E1249

#8E1249 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.160 H 1.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1249
RGBrgb(142, 18, 73)
HSLhsl(333, 78%, 31%)
HSVhsv(333, 87%, 56%)
CMYKcmyk(0%, 87.3%, 48.6%, 44.3%)
CIE-LABlab(31.03, 52.04, 1.25)
CIE-LCHlch(31.03, 52.06, 1.38°)
OKLaboklab(42.65% 0.1601 0.0038)
OKLCHoklch(42.65% 0.16 1.3)
XYZxyz(12.5753, 6.6662, 6.9266)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1249 #128E57
analogous
#8E1287 #8E1249 #8E1912
triadic
#8E1249 #498E12 #12498E
tetradic
#8E1249 #878E12 #128E57 #19128E
square
#8E1249 #878E12 #128E57 #19128E
split-complementary
#8E1249 #128E19 #12878E
monochromatic
#210411 #580B2D #8E1249 #C41965 #E53583

Accessibility & contrast

On white

9.00
#8E1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1249
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1249#FFFFFF#000000##FFFFFF
##8E12491.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#545146
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1249;
/* rgb */ color: rgb(142, 18, 73);
/* oklch */ color: oklch(42.6% 0.160 1.3);
Tailwind
colors: {
  custom: {
    50: '#b5627b',
    500: '#8e1249',
    950: '#000000',
  },
}
SCSS
$custom: #8e1249;
$custom-light: #b5627b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1249",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 333.387,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.16009,
    "h": 1.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#8E1249
secondary
#3AC286
accent
#F49F34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1249

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

Preview Lab → · Contrast checker → · Palette generator →

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