#8F1278#8F1278

#8F1278 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.9% C 0.185 H 337.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8F1278
RGBrgb(143, 18, 120)
HSLhsl(311, 78%, 32%)
HSVhsv(311, 87%, 56%)
CMYKcmyk(0%, 87.4%, 16.1%, 43.9%)
CIE-LABlab(33.20, 57.74, -25.85)
CIE-LCHlch(33.20, 63.26, 335.88°)
OKLaboklab(44.89% 0.1711 -0.0704)
OKLCHoklch(44.89% 0.185 337.6)
XYZxyz(14.9345, 7.6298, 18.4518)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1278 #128F29
analogous
#68128F #8F1278 #8F123A
triadic
#8F1278 #788F12 #12788F
tetradic
#8F1278 #8F6812 #128F29 #123A8F
square
#8F1278 #8F6812 #128F29 #123A8F
split-complementary
#8F1278 #3A8F12 #128F68
monochromatic
#22041D #590B4A #8F1278 #C519A6 #E636C5

Accessibility & contrast

On white

8.31
#8F1278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F1278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1278
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1278#FFFFFF#000000##FFFFFF
##8F12781.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#475575
Tritanopia (blue-blind)
#971C47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1278;
/* rgb */ color: rgb(143, 18, 120);
/* oklch */ color: oklch(44.9% 0.185 337.6);
Tailwind
colors: {
  custom: {
    50: '#b4649f',
    500: '#8f1278',
    950: '#000000',
  },
}
SCSS
$custom: #8f1278;
$custom-light: #b4649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1278",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 120
  },
  "hsl": {
    "h": 311.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.18502,
    "h": 337.6
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#8F1278
secondary
#3AC353
accent
#F45734
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1278

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

Preview Lab → · Contrast checker → · Palette generator →

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