#8E1841#8E1841

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

Color values

HEX#8E1841
RGBrgb(142, 24, 65)
HSLhsl(339, 71%, 33%)
HSVhsv(339, 83%, 56%)
CMYKcmyk(0%, 83.1%, 54.2%, 44.3%)
CIE-LABlab(31.32, 49.89, 6.96)
CIE-LCHlch(31.32, 50.37, 7.95°)
OKLaboklab(42.78% 0.1523 0.018)
OKLCHoklch(42.78% 0.153 6.7)
XYZxyz(12.4373, 6.7875, 5.6552)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1841 #188E65
analogous
#8E187C #8E1841 #8E2A18
triadic
#8E1841 #418E18 #18418E
tetradic
#8E1841 #7C8E18 #188E65 #2A188E
square
#8E1841 #7C8E18 #188E65 #2A188E
split-complementary
#8E1841 #188E2A #187C8E
monochromatic
#250611 #5A0F29 #8E1841 #C22159 #DF4178

Accessibility & contrast

On white

8.91
#8E1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1841
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1841#FFFFFF#000000##FFFFFF
##8E18411.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1841;
/* rgb */ color: rgb(142, 24, 65);
/* oklch */ color: oklch(42.8% 0.153 6.7);
Tailwind
colors: {
  custom: {
    50: '#b56375',
    500: '#8e1841',
    950: '#000000',
  },
}
SCSS
$custom: #8e1841;
$custom-light: #b56375;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1841",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 339.153,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.15334,
    "h": 6.7
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#8E1841
secondary
#42C094
accent
#EEAF3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1841

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

Preview Lab → · Contrast checker → · Palette generator →

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