#8F124B#8F124B

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

Color values

HEX#8F124B
RGBrgb(143, 18, 75)
HSLhsl(333, 78%, 32%)
HSVhsv(333, 87%, 56%)
CMYKcmyk(0%, 87.4%, 47.6%, 43.9%)
CIE-LABlab(31.31, 52.49, 0.35)
CIE-LCHlch(31.31, 52.49, 0.38°)
OKLaboklab(42.9% 0.1615 0.0015)
OKLCHoklch(42.9% 0.162 0.5)
XYZxyz(12.8151, 6.7820, 7.2895)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F124B #128F56
analogous
#8F128A #8F124B #8F1812
triadic
#8F124B #4B8F12 #124B8F
tetradic
#8F124B #8A8F12 #128F56 #18128F
square
#8F124B #8A8F12 #128F56 #18128F
split-complementary
#8F124B #128F18 #128A8F
monochromatic
#220412 #590B2E #8F124B #C51968 #E63686

Accessibility & contrast

On white

8.91
#8F124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F124B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F124B#FFFFFF#000000##FFFFFF
##8F124B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#555248
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f124b;
/* rgb */ color: rgb(143, 18, 75);
/* oklch */ color: oklch(42.9% 0.162 0.5);
Tailwind
colors: {
  custom: {
    50: '#b5627d',
    500: '#8f124b',
    950: '#000000',
  },
}
SCSS
$custom: #8f124b;
$custom-light: #b5627d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f124b",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 332.64,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42903,
    "c": 0.16153,
    "h": 0.5
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#8F124B
secondary
#3AC384
accent
#F49C34
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F124B

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

Preview Lab → · Contrast checker → · Palette generator →

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