#8F124A#8F124A

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

Color values

HEX#8F124A
RGBrgb(143, 18, 74)
HSLhsl(333, 78%, 32%)
HSVhsv(333, 87%, 56%)
CMYKcmyk(0%, 87.4%, 48.3%, 43.9%)
CIE-LABlab(31.27, 52.39, 0.97)
CIE-LCHlch(31.27, 52.40, 1.06°)
OKLaboklab(42.87% 0.1612 0.003)
OKLCHoklch(42.87% 0.161 1.1)
XYZxyz(12.7811, 6.7685, 7.1107)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F124A #128F57
analogous
#8F1289 #8F124A #8F1912
triadic
#8F124A #4A8F12 #124A8F
tetradic
#8F124A #898F12 #128F57 #19128F
square
#8F124A #898F12 #128F57 #19128F
split-complementary
#8F124A #128F19 #12898F
monochromatic
#220412 #590B2E #8F124A #C51966 #E63685

Accessibility & contrast

On white

8.92
#8F124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F124A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F124A#FFFFFF#000000##FFFFFF
##8F124A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4B
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#9C002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f124a;
/* rgb */ color: rgb(143, 18, 74);
/* oklch */ color: oklch(42.9% 0.161 1.1);
Tailwind
colors: {
  custom: {
    50: '#b5627c',
    500: '#8f124a',
    950: '#000000',
  },
}
SCSS
$custom: #8f124a;
$custom-light: #b5627c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f124a",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 333.12,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.1612,
    "h": 1.1
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#8F124A
secondary
#3AC386
accent
#F49E34
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F124A

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

Preview Lab → · Contrast checker → · Palette generator →

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