#8F1243#8F1243

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

Color values

HEX#8F1243
RGBrgb(143, 18, 67)
HSLhsl(336, 78%, 32%)
HSVhsv(336, 87%, 56%)
CMYKcmyk(0%, 87.4%, 53.1%, 43.9%)
CIE-LABlab(31.07, 51.80, 5.31)
CIE-LCHlch(31.07, 52.07, 5.85°)
OKLaboklab(42.65% 0.1586 0.0139)
OKLCHoklch(42.65% 0.159 5)
XYZxyz(12.5583, 6.6793, 5.9371)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1243 #128F5E
analogous
#8F1282 #8F1243 #8F2012
triadic
#8F1243 #438F12 #12438F
tetradic
#8F1243 #828F12 #128F5E #20128F
square
#8F1243 #828F12 #128F5E #20128F
split-complementary
#8F1243 #128F20 #12828F
monochromatic
#220410 #590B2A #8F1243 #C5195C #E6367B

Accessibility & contrast

On white

8.99
#8F1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8F1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1243
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1243#FFFFFF#000000##FFFFFF
##8F12431.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A44
Deuteranopia (green-blind)
#565240
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1243;
/* rgb */ color: rgb(143, 18, 67);
/* oklch */ color: oklch(42.6% 0.159 5.0);
Tailwind
colors: {
  custom: {
    50: '#b66276',
    500: '#8f1243',
    950: '#000000',
  },
}
SCSS
$custom: #8f1243;
$custom-light: #b66276;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1243",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 336.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.15922,
    "h": 5
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#8F1243
secondary
#3AC38D
accent
#F4A934
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1243

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

Preview Lab → · Contrast checker → · Palette generator →

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