#8F2A6D#8F2A6D

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

Color values

HEX#8F2A6D
RGBrgb(143, 42, 109)
HSLhsl(320, 55%, 36%)
HSVhsv(320, 71%, 56%)
CMYKcmyk(0%, 70.6%, 23.8%, 43.9%)
CIE-LABlab(35.20, 48.99, -15.78)
CIE-LCHlch(35.20, 51.47, 342.14°)
OKLaboklab(46.17% 0.1476 -0.0421)
OKLCHoklch(46.17% 0.153 344.1)
XYZxyz(14.9165, 8.6012, 15.3397)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A6D #2A8F4C
analogous
#7F2A8F #8F2A6D #8F2A3B
triadic
#8F2A6D #6D8F2A #2A6D8F
tetradic
#8F2A6D #8F7F2A #2A8F4C #2A3B8F
square
#8F2A6D #8F7F2A #2A8F4C #2A3B8F
split-complementary
#8F2A6D #3B8F2A #2A8F7F
monochromatic
#300E25 #601C49 #8F2A6D #BE3891 #D162AC

Accessibility & contrast

On white

7.72
#8F2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A6D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A6D#FFFFFF#000000##FFFFFF
##8F2A6D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#53596B
Tritanopia (blue-blind)
#982947
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2a6d;
/* rgb */ color: rgb(143, 42, 109);
/* oklch */ color: oklch(46.2% 0.153 344.1);
Tailwind
colors: {
  custom: {
    50: '#b36c97',
    500: '#8f2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a6d;
$custom-light: #b36c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a6d",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 320.198,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.15348,
    "h": 344.1
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#8F2A6D
secondary
#5EB77C
accent
#DE7C4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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