#8F124C#8F124C

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

Color values

HEX#8F124C
RGBrgb(143, 18, 76)
HSLhsl(332, 78%, 32%)
HSVhsv(332, 87%, 56%)
CMYKcmyk(0%, 87.4%, 46.9%, 43.9%)
CIE-LABlab(31.34, 52.58, -0.26)
CIE-LCHlch(31.34, 52.58, 359.71°)
OKLaboklab(42.94% 0.1619 -0.0001)
OKLCHoklch(42.94% 0.162 0)
XYZxyz(12.8496, 6.7958, 7.4712)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F124C #128F55
analogous
#8F128B #8F124C #8F1712
triadic
#8F124C #4C8F12 #124C8F
tetradic
#8F124C #8B8F12 #128F55 #17128F
square
#8F124C #8B8F12 #128F55 #17128F
split-complementary
#8F124C #128F17 #128B8F
monochromatic
#220412 #590B2F #8F124C #C51969 #E63687

Accessibility & contrast

On white

8.90
#8F124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F124C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F124C#FFFFFF#000000##FFFFFF
##8F124C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4D
Deuteranopia (green-blind)
#545249
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f124c;
/* rgb */ color: rgb(143, 18, 76);
/* oklch */ color: oklch(42.9% 0.162 360.0);
Tailwind
colors: {
  custom: {
    50: '#b5627d',
    500: '#8f124c',
    950: '#000000',
  },
}
SCSS
$custom: #8f124c;
$custom-light: #b5627d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f124c",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 332.16,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.16186,
    "h": 360
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#8F124C
secondary
#3AC383
accent
#F49B34
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F124C

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

Preview Lab → · Contrast checker → · Palette generator →

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