#8F1B71#8F1B71

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

Color values

HEX#8F1B71
RGBrgb(143, 27, 113)
HSLhsl(316, 68%, 33%)
HSVhsv(316, 81%, 56%)
CMYKcmyk(0%, 81.1%, 21%, 43.9%)
CIE-LABlab(33.60, 54.60, -20.80)
CIE-LCHlch(33.60, 58.43, 339.15°)
OKLaboklab(45.06% 0.1638 -0.0561)
OKLCHoklch(45.06% 0.173 341.1)
XYZxyz(14.7008, 7.8173, 16.3543)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B71 #1B8F39
analogous
#731B8F #8F1B71 #8F1B37
triadic
#8F1B71 #718F1B #1B718F
tetradic
#8F1B71 #8F731B #1B8F39 #1B378F
square
#8F1B71 #8F731B #1B8F39 #1B378F
split-complementary
#8F1B71 #378F1B #1B8F73
monochromatic
#280820 #5C1148 #8F1B71 #C2259A #DC48B6

Accessibility & contrast

On white

8.19
#8F1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B71
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B71#FFFFFF#000000##FFFFFF
##8F1B711.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#4C566E
Tritanopia (blue-blind)
#981E45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1b71;
/* rgb */ color: rgb(143, 27, 113);
/* oklch */ color: oklch(45.1% 0.173 341.1);
Tailwind
colors: {
  custom: {
    50: '#b4669a',
    500: '#8f1b71',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b71;
$custom-light: #b4669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b71",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 315.517,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.17314,
    "h": 341.1
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#8F1B71
secondary
#48BE66
accent
#EB6A3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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