#8F1378#8F1378

#8F1378 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 337.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8F1378
RGBrgb(143, 19, 120)
HSLhsl(311, 77%, 32%)
HSVhsv(311, 87%, 56%)
CMYKcmyk(0%, 86.7%, 16.1%, 43.9%)
CIE-LABlab(33.27, 57.53, -25.74)
CIE-LCHlch(33.27, 63.03, 335.90°)
OKLaboklab(44.94% 0.1705 -0.0701)
OKLCHoklch(44.94% 0.184 337.7)
XYZxyz(14.9511, 7.6630, 18.4574)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1378 #138F2A
analogous
#68138F #8F1378 #8F133A
triadic
#8F1378 #788F13 #13788F
tetradic
#8F1378 #8F6813 #138F2A #133A8F
square
#8F1378 #8F6813 #138F2A #133A8F
split-complementary
#8F1378 #3A8F13 #138F68
monochromatic
#23051D #590C4B #8F1378 #C51AA5 #E538C5

Accessibility & contrast

On white

8.29
#8F1378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F1378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1378
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1378#FFFFFF#000000##FFFFFF
##8F13781.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A427A
Deuteranopia (green-blind)
#475575
Tritanopia (blue-blind)
#971D47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1378;
/* rgb */ color: rgb(143, 19, 120);
/* oklch */ color: oklch(44.9% 0.184 337.7);
Tailwind
colors: {
  custom: {
    50: '#b4649f',
    500: '#8f1378',
    950: '#000000',
  },
}
SCSS
$custom: #8f1378;
$custom-light: #b4649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1378",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 120
  },
  "hsl": {
    "h": 311.129,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.18432,
    "h": 337.7
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#8F1378
secondary
#3BC354
accent
#F35835
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1378

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

Preview Lab → · Contrast checker → · Palette generator →

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