#8F124D#8F124D

#8F124D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.162 H 359.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8F124D
RGBrgb(143, 18, 77)
HSLhsl(332, 78%, 32%)
HSVhsv(332, 87%, 56%)
CMYKcmyk(0%, 87.4%, 46.2%, 43.9%)
CIE-LABlab(31.37, 52.67, -0.88)
CIE-LCHlch(31.37, 52.68, 359.05°)
OKLaboklab(42.97% 0.1622 -0.0017)
OKLCHoklch(42.97% 0.162 359.4)
XYZxyz(12.8846, 6.8099, 7.6557)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F124D #128F54
analogous
#8F128C #8F124D #8F1612
triadic
#8F124D #4D8F12 #124D8F
tetradic
#8F124D #8C8F12 #128F54 #16128F
square
#8F124D #8C8F12 #128F54 #16128F
split-complementary
#8F124D #128F16 #128C8F
monochromatic
#220412 #590B30 #8F124D #C5196A #E63689

Accessibility & contrast

On white

8.89
#8F124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F124D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F124D#FFFFFF#000000##FFFFFF
##8F124D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f124d;
/* rgb */ color: rgb(143, 18, 77);
/* oklch */ color: oklch(43.0% 0.162 359.4);
Tailwind
colors: {
  custom: {
    50: '#b5627e',
    500: '#8f124d',
    950: '#000000',
  },
}
SCSS
$custom: #8f124d;
$custom-light: #b5627e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f124d",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 331.68,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.16221,
    "h": 359.4
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#8F124D
secondary
#3AC382
accent
#F49934
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F124D

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

Preview Lab → · Contrast checker → · Palette generator →

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