#8F1D71#8F1D71

#8F1D71 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.171 H 341.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8F1D71
RGBrgb(143, 29, 113)
HSLhsl(316, 66%, 34%)
HSVhsv(316, 80%, 56%)
CMYKcmyk(0%, 79.7%, 21%, 43.9%)
CIE-LABlab(33.80, 54.03, -20.49)
CIE-LCHlch(33.80, 57.78, 339.23°)
OKLaboklab(45.21% 0.1621 -0.0552)
OKLCHoklch(45.21% 0.171 341.2)
XYZxyz(14.7482, 7.9122, 16.3701)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D71 #1D8F3B
analogous
#741D8F #8F1D71 #8F1D38
triadic
#8F1D71 #718F1D #1D718F
tetradic
#8F1D71 #8F741D #1D8F3B #1D388F
square
#8F1D71 #8F741D #1D8F3B #1D388F
split-complementary
#8F1D71 #388F1D #1D8F74
monochromatic
#290821 #5C1349 #8F1D71 #C22799 #DB4CB5

Accessibility & contrast

On white

8.13
#8F1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D71
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D71#FFFFFF#000000##FFFFFF
##8F1D711.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#4D566E
Tritanopia (blue-blind)
#982045
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1d71;
/* rgb */ color: rgb(143, 29, 113);
/* oklch */ color: oklch(45.2% 0.171 341.2);
Tailwind
colors: {
  custom: {
    50: '#b4679a',
    500: '#8f1d71',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d71;
$custom-light: #b4679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d71",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 315.789,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.17119,
    "h": 341.2
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#8F1D71
secondary
#4BBD69
accent
#E96B3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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