#8F1C71#8F1C71

#8F1C71 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 341.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8F1C71
RGBrgb(143, 28, 113)
HSLhsl(316, 67%, 34%)
HSVhsv(316, 80%, 56%)
CMYKcmyk(0%, 80.4%, 21%, 43.9%)
CIE-LABlab(33.70, 54.32, -20.64)
CIE-LCHlch(33.70, 58.11, 339.19°)
OKLaboklab(45.13% 0.1629 -0.0556)
OKLCHoklch(45.13% 0.172 341.1)
XYZxyz(14.7241, 7.8639, 16.3620)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C71 #1C8F3A
analogous
#731C8F #8F1C71 #8F1C37
triadic
#8F1C71 #718F1C #1C718F
tetradic
#8F1C71 #8F731C #1C8F3A #1C378F
square
#8F1C71 #8F731C #1C8F3A #1C378F
split-complementary
#8F1C71 #378F1C #1C8F73
monochromatic
#290820 #5C1249 #8F1C71 #C22699 #DC4AB6

Accessibility & contrast

On white

8.16
#8F1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C71
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C71#FFFFFF#000000##FFFFFF
##8F1C711.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#4D566E
Tritanopia (blue-blind)
#981F45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1c71;
/* rgb */ color: rgb(143, 28, 113);
/* oklch */ color: oklch(45.1% 0.172 341.1);
Tailwind
colors: {
  custom: {
    50: '#b4669a',
    500: '#8f1c71',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c71;
$custom-light: #b4669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c71",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 315.652,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.17217,
    "h": 341.1
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#8F1C71
secondary
#49BE68
accent
#EA6B3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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