#8F1A71#8F1A71

#8F1A71 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.174 H 341.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8F1A71
RGBrgb(143, 26, 113)
HSLhsl(315, 69%, 33%)
HSVhsv(315, 82%, 56%)
CMYKcmyk(0%, 81.8%, 21%, 43.9%)
CIE-LABlab(33.50, 54.88, -20.95)
CIE-LCHlch(33.50, 58.74, 339.11°)
OKLaboklab(44.99% 0.1646 -0.0565)
OKLCHoklch(44.99% 0.174 341.1)
XYZxyz(14.6782, 7.7722, 16.3468)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A71 #1A8F38
analogous
#721A8F #8F1A71 #8F1A36
triadic
#8F1A71 #718F1A #1A718F
tetradic
#8F1A71 #8F721A #1A8F38 #1A368F
square
#8F1A71 #8F721A #1A8F38 #1A368F
split-complementary
#8F1A71 #368F1A #1A8F72
monochromatic
#27071F #5B1148 #8F1A71 #C3239A #DD46B7

Accessibility & contrast

On white

8.22
#8F1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A71
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A71#FFFFFF#000000##FFFFFF
##8F1A711.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#4C556E
Tritanopia (blue-blind)
#981D44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1a71;
/* rgb */ color: rgb(143, 26, 113);
/* oklch */ color: oklch(45.0% 0.174 341.1);
Tailwind
colors: {
  custom: {
    50: '#b4669a',
    500: '#8f1a71',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a71;
$custom-light: #b4669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a71",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 315.385,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.17406,
    "h": 341.1
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#8F1A71
secondary
#46BF65
accent
#EC693C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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