#8F1337#8F1337

#8F1337 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.156 H 11.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8F1337
RGBrgb(143, 19, 55)
HSLhsl(343, 77%, 32%)
HSVhsv(343, 87%, 56%)
CMYKcmyk(0%, 86.7%, 61.5%, 43.9%)
CIE-LABlab(30.84, 50.68, 12.97)
CIE-LCHlch(30.84, 52.32, 14.35°)
OKLaboklab(42.38% 0.1531 0.032)
OKLCHoklch(42.38% 0.156 11.8)
XYZxyz(12.2514, 6.5831, 4.2393)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1337 #138F6B
analogous
#8F1375 #8F1337 #8F2D13
triadic
#8F1337 #378F13 #13378F
tetradic
#8F1337 #758F13 #138F6B #2D138F
square
#8F1337 #758F13 #138F6B #2D138F
split-complementary
#8F1337 #138F2D #13758F
monochromatic
#23050D #590C22 #8F1337 #C51A4C #E5386A

Accessibility & contrast

On white

9.07
#8F1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8F1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1337
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1337#FFFFFF#000000##FFFFFF
##8F13371.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393937
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1337;
/* rgb */ color: rgb(143, 19, 55);
/* oklch */ color: oklch(42.4% 0.156 11.8);
Tailwind
colors: {
  custom: {
    50: '#b7626d',
    500: '#8f1337',
    950: '#000000',
  },
}
SCSS
$custom: #8f1337;
$custom-light: #b7626d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1337",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 342.581,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.15643,
    "h": 11.8
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#8F1337
secondary
#3BC39B
accent
#F3BC35
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1337

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

Preview Lab → · Contrast checker → · Palette generator →

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