#8F2D72#8F2D72

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

Color values

HEX#8F2D72
RGBrgb(143, 45, 114)
HSLhsl(318, 52%, 37%)
HSVhsv(318, 69%, 56%)
CMYKcmyk(0%, 68.5%, 20.3%, 43.9%)
CIE-LABlab(35.85, 48.50, -17.94)
CIE-LCHlch(35.85, 51.71, 339.70°)
OKLaboklab(46.71% 0.145 -0.0481)
OKLCHoklch(46.71% 0.153 341.6)
XYZxyz(15.3038, 8.9328, 16.8345)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D72 #2D8F4A
analogous
#7B2D8F #8F2D72 #8F2D41
triadic
#8F2D72 #728F2D #2D728F
tetradic
#8F2D72 #8F7B2D #2D8F4A #2D418F
square
#8F2D72 #8F7B2D #2D8F4A #2D418F
split-complementary
#8F2D72 #418F2D #2D8F7B
monochromatic
#321028 #601E4D #8F2D72 #BE3C97 #CF67B0

Accessibility & contrast

On white

7.54
#8F2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D72
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D72#FFFFFF#000000##FFFFFF
##8F2D721.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2d72;
/* rgb */ color: rgb(143, 45, 114);
/* oklch */ color: oklch(46.7% 0.153 341.6);
Tailwind
colors: {
  custom: {
    50: '#b36e9a',
    500: '#8f2d72',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d72;
$custom-light: #b36e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d72",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 317.755,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.15275,
    "h": 341.6
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#8F2D72
secondary
#62B67B
accent
#DC774C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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