#8F2C71#8F2C71

#8F2C71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.153 H 342.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8F2C71
RGBrgb(143, 44, 113)
HSLhsl(318, 53%, 37%)
HSVhsv(318, 69%, 56%)
CMYKcmyk(0%, 69.2%, 21%, 43.9%)
CIE-LABlab(35.66, 48.76, -17.60)
CIE-LCHlch(35.66, 51.84, 340.15°)
OKLaboklab(46.56% 0.146 -0.0472)
OKLCHoklch(46.56% 0.153 342.1)
XYZxyz(15.2095, 8.8347, 16.5238)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C71 #2C8F4A
analogous
#7C2C8F #8F2C71 #8F2C40
triadic
#8F2C71 #718F2C #2C718F
tetradic
#8F2C71 #8F7C2C #2C8F4A #2C408F
square
#8F2C71 #8F7C2C #2C8F4A #2C408F
split-complementary
#8F2C71 #408F2C #2C8F7C
monochromatic
#310F27 #601E4C #8F2C71 #BE3A96 #D066B0

Accessibility & contrast

On white

7.59
#8F2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8F2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C71
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C71#FFFFFF#000000##FFFFFF
##8F2C711.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#982D4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2c71;
/* rgb */ color: rgb(143, 44, 113);
/* oklch */ color: oklch(46.6% 0.153 342.1);
Tailwind
colors: {
  custom: {
    50: '#b36d9a',
    500: '#8f2c71',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c71;
$custom-light: #b36d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c71",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 318.182,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.15343,
    "h": 342.1
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#8F2C71
secondary
#61B67B
accent
#DC774B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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