#8F2F71#8F2F71

#8F2F71 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.9% C 0.149 H 342.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2F71
RGBrgb(143, 47, 113)
HSLhsl(319, 51%, 37%)
HSVhsv(319, 67%, 56%)
CMYKcmyk(0%, 67.1%, 21%, 43.9%)
CIE-LABlab(36.11, 47.52, -16.91)
CIE-LCHlch(36.11, 50.44, 340.41°)
OKLaboklab(46.89% 0.1422 -0.0453)
OKLCHoklch(46.89% 0.149 342.3)
XYZxyz(15.3253, 9.0664, 16.5625)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F71 #2F8F4D
analogous
#7D2F8F #8F2F71 #8F2F41
triadic
#8F2F71 #718F2F #2F718F
tetradic
#8F2F71 #8F7D2F #2F8F4D #2F418F
square
#8F2F71 #8F7D2F #2F8F4D #2F418F
split-complementary
#8F2F71 #418F2F #2F8F7D
monochromatic
#331128 #61204D #8F2F71 #BD3E95 #CE6AAF

Accessibility & contrast

On white

7.47
#8F2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2F71
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F71#FFFFFF#000000##FFFFFF
##8F2F711.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#98304B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2f71;
/* rgb */ color: rgb(143, 47, 113);
/* oklch */ color: oklch(46.9% 0.149 342.3);
Tailwind
colors: {
  custom: {
    50: '#b36f9a',
    500: '#8f2f71',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f71;
$custom-light: #b36f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f71",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 318.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.14926,
    "h": 342.3
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#8F2F71
secondary
#65B57E
accent
#DA7A4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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