#8F2C72#8F2C72

#8F2C72 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.154 H 341.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8F2C72
RGBrgb(143, 44, 114)
HSLhsl(318, 53%, 37%)
HSVhsv(318, 69%, 56%)
CMYKcmyk(0%, 69.2%, 20.3%, 43.9%)
CIE-LABlab(35.71, 48.91, -18.16)
CIE-LCHlch(35.71, 52.17, 339.62°)
OKLaboklab(46.61% 0.1462 -0.0488)
OKLCHoklch(46.61% 0.154 341.6)
XYZxyz(15.2661, 8.8574, 16.8220)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C72 #2C8F49
analogous
#7B2C8F #8F2C72 #8F2C41
triadic
#8F2C72 #728F2C #2C728F
tetradic
#8F2C72 #8F7B2C #2C8F49 #2C418F
square
#8F2C72 #8F7B2C #2C8F49 #2C418F
split-complementary
#8F2C72 #418F2C #2C8F7B
monochromatic
#310F27 #601E4D #8F2C72 #BE3A97 #D066B1

Accessibility & contrast

On white

7.58
#8F2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2C72
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C72#FFFFFF#000000##FFFFFF
##8F2C721.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#982D4B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2c72;
/* rgb */ color: rgb(143, 44, 114);
/* oklch */ color: oklch(46.6% 0.154 341.6);
Tailwind
colors: {
  custom: {
    50: '#b36d9a',
    500: '#8f2c72',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c72;
$custom-light: #b36d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c72",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 317.576,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.15412,
    "h": 341.6
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#8F2C72
secondary
#61B67A
accent
#DC764B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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