#8F1F71#8F1F71

#8F1F71 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.169 H 341.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8F1F71
RGBrgb(143, 31, 113)
HSLhsl(316, 64%, 34%)
HSVhsv(316, 78%, 56%)
CMYKcmyk(0%, 78.3%, 21%, 43.9%)
CIE-LABlab(34.01, 53.42, -20.16)
CIE-LCHlch(34.01, 57.10, 339.33°)
OKLaboklab(45.36% 0.1602 -0.0543)
OKLCHoklch(45.36% 0.169 341.3)
XYZxyz(14.7988, 8.0134, 16.3870)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F71 #1F8F3D
analogous
#751F8F #8F1F71 #8F1F39
triadic
#8F1F71 #718F1F #1F718F
tetradic
#8F1F71 #8F751F #1F8F3D #1F398F
square
#8F1F71 #8F751F #1F8F3D #1F398F
split-complementary
#8F1F71 #398F1F #1F8F75
monochromatic
#2A0922 #5D1449 #8F1F71 #C12A99 #D94FB4

Accessibility & contrast

On white

8.07
#8F1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F71
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F71#FFFFFF#000000##FFFFFF
##8F1F711.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#4D566E
Tritanopia (blue-blind)
#982146
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1f71;
/* rgb */ color: rgb(143, 31, 113);
/* oklch */ color: oklch(45.4% 0.169 341.3);
Tailwind
colors: {
  custom: {
    50: '#b4689a',
    500: '#8f1f71',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f71;
$custom-light: #b4689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f71",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 316.071,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.16916,
    "h": 341.3
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#8F1F71
secondary
#4EBC6B
accent
#E76D40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1F71

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

Preview Lab → · Contrast checker → · Palette generator →

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