#8F1239#8F1239

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

Color values

HEX#8F1239
RGBrgb(143, 18, 57)
HSLhsl(341, 78%, 32%)
HSVhsv(341, 87%, 56%)
CMYKcmyk(0%, 87.4%, 60.1%, 43.9%)
CIE-LABlab(30.81, 51.04, 11.60)
CIE-LCHlch(30.81, 52.35, 12.80°)
OKLaboklab(42.38% 0.1547 0.0289)
OKLCHoklch(42.38% 0.157 10.6)
XYZxyz(12.2838, 6.5695, 4.4913)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1239 #128F68
analogous
#8F1278 #8F1239 #8F2A12
triadic
#8F1239 #398F12 #12398F
tetradic
#8F1239 #788F12 #128F68 #2A128F
square
#8F1239 #788F12 #128F68 #2A128F
split-complementary
#8F1239 #128F2A #12788F
monochromatic
#22040E #590B23 #8F1239 #C5194F #E6366D

Accessibility & contrast

On white

9.08
#8F1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8F1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1239
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1239#FFFFFF#000000##FFFFFF
##8F12391.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393A
Deuteranopia (green-blind)
#585136
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1239;
/* rgb */ color: rgb(143, 18, 57);
/* oklch */ color: oklch(42.4% 0.157 10.6);
Tailwind
colors: {
  custom: {
    50: '#b7616f',
    500: '#8f1239',
    950: '#000000',
  },
}
SCSS
$custom: #8f1239;
$custom-light: #b7616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1239",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 341.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.15734,
    "h": 10.6
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#8F1239
secondary
#3AC398
accent
#F4B834
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1239

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

Preview Lab → · Contrast checker → · Palette generator →

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