#8F296F#8F296F

#8F296F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.156 H 342.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8F296F
RGBrgb(143, 41, 111)
HSLhsl(319, 55%, 36%)
HSVhsv(319, 71%, 56%)
CMYKcmyk(0%, 71.3%, 22.4%, 43.9%)
CIE-LABlab(35.15, 49.66, -17.13)
CIE-LCHlch(35.15, 52.53, 340.97°)
OKLaboklab(46.16% 0.1492 -0.0458)
OKLCHoklch(46.16% 0.156 342.9)
XYZxyz(14.9904, 8.5747, 15.9015)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F296F #298F49
analogous
#7C298F #8F296F #8F293C
triadic
#8F296F #6F8F29 #296F8F
tetradic
#8F296F #8F7C29 #298F49 #293C8F
square
#8F296F #8F7C29 #298F49 #293C8F
split-complementary
#8F296F #3C8F29 #298F7C
monochromatic
#300E25 #5F1B4A #8F296F #BF3794 #D261AE

Accessibility & contrast

On white

7.74
#8F296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F296F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F296F#FFFFFF#000000##FFFFFF
##8F296F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#52596D
Tritanopia (blue-blind)
#982948
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f296f;
/* rgb */ color: rgb(143, 41, 111);
/* oklch */ color: oklch(46.2% 0.156 342.9);
Tailwind
colors: {
  custom: {
    50: '#b36c98',
    500: '#8f296f',
    950: '#000000',
  },
}
SCSS
$custom: #8f296f;
$custom-light: #b36c98;
$custom-dark: #000000;
JSON
{
  "hex": "#8f296f",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 318.824,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46158,
    "c": 0.15609,
    "h": 342.9
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#8F296F
secondary
#5CB779
accent
#DF7849
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F296F

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

Preview Lab → · Contrast checker → · Palette generator →

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