#8F1671#8F1671

#8F1671 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 340.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8F1671
RGBrgb(143, 22, 113)
HSLhsl(315, 73%, 32%)
HSVhsv(315, 85%, 56%)
CMYKcmyk(0%, 84.6%, 21%, 43.9%)
CIE-LABlab(33.15, 55.89, -21.49)
CIE-LCHlch(33.15, 59.88, 338.97°)
OKLaboklab(44.74% 0.1678 -0.058)
OKLCHoklch(44.74% 0.178 340.9)
XYZxyz(14.5957, 7.6073, 16.3193)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1671 #168F34
analogous
#71168F #8F1671 #8F1635
triadic
#8F1671 #718F16 #16718F
tetradic
#8F1671 #8F7116 #168F34 #16358F
square
#8F1671 #8F7116 #168F34 #16358F
split-complementary
#8F1671 #358F16 #168F71
monochromatic
#25061D #5A0E47 #8F1671 #C41E9B #E13EB9

Accessibility & contrast

On white

8.33
#8F1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1671
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1671#FFFFFF#000000##FFFFFF
##8F16711.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#981A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1671;
/* rgb */ color: rgb(143, 22, 113);
/* oklch */ color: oklch(44.7% 0.177 340.9);
Tailwind
colors: {
  custom: {
    50: '#b4659a',
    500: '#8f1671',
    950: '#000000',
  },
}
SCSS
$custom: #8f1671;
$custom-light: #b4659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1671",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 314.876,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.1775,
    "h": 340.9
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#8F1671
secondary
#3FC160
accent
#F06538
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1671

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

Preview Lab → · Contrast checker → · Palette generator →

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