#8F127A#8F127A

#8F127A is a dark, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 336.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8F127A
RGBrgb(143, 18, 122)
HSLhsl(310, 78%, 32%)
HSVhsv(310, 87%, 56%)
CMYKcmyk(0%, 87.4%, 14.7%, 43.9%)
CIE-LABlab(33.30, 58.02, -26.94)
CIE-LCHlch(33.30, 63.97, 335.09°)
OKLaboklab(45% 0.1712 -0.0735)
OKLCHoklch(45% 0.186 336.8)
XYZxyz(15.0572, 7.6789, 19.0978)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F127A #128F27
analogous
#66128F #8F127A #8F123C
triadic
#8F127A #7A8F12 #127A8F
tetradic
#8F127A #8F6612 #128F27 #123C8F
square
#8F127A #8F6612 #128F27 #123C8F
split-complementary
#8F127A #3C8F12 #128F66
monochromatic
#22041D #590B4C #8F127A #C519A8 #E636C8

Accessibility & contrast

On white

8.28
#8F127A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F127A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F127A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F127A#FFFFFF#000000##FFFFFF
##8F127A1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#971E48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f127a;
/* rgb */ color: rgb(143, 18, 122);
/* oklch */ color: oklch(45.0% 0.186 336.8);
Tailwind
colors: {
  custom: {
    50: '#b464a1',
    500: '#8f127a',
    950: '#000000',
  },
}
SCSS
$custom: #8f127a;
$custom-light: #b464a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f127a",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 122
  },
  "hsl": {
    "h": 310.08,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44998,
    "c": 0.18635,
    "h": 336.8
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#8F127A
secondary
#3AC351
accent
#F45434
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8F127A

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

Preview Lab → · Contrast checker → · Palette generator →

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