#8F2D77#8F2D77

#8F2D77 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.156 H 339.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2D77
RGBrgb(143, 45, 119)
HSLhsl(315, 52%, 37%)
HSVhsv(315, 69%, 56%)
CMYKcmyk(0%, 68.5%, 16.8%, 43.9%)
CIE-LABlab(36.08, 49.25, -20.73)
CIE-LCHlch(36.08, 53.44, 337.17°)
OKLaboklab(46.95% 0.1459 -0.056)
OKLCHoklch(46.95% 0.156 339)
XYZxyz(15.5962, 9.0497, 18.3746)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D77 #2D8F45
analogous
#762D8F #8F2D77 #8F2D46
triadic
#8F2D77 #778F2D #2D778F
tetradic
#8F2D77 #8F762D #2D8F45 #2D468F
square
#8F2D77 #8F762D #2D8F45 #2D468F
split-complementary
#8F2D77 #468F2D #2D8F76
monochromatic
#32102A #601E50 #8F2D77 #BE3C9E #CF67B6

Accessibility & contrast

On white

7.47
#8F2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D77
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D77#FFFFFF#000000##FFFFFF
##8F2D771.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#515A75
Tritanopia (blue-blind)
#97304E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2d77;
/* rgb */ color: rgb(143, 45, 119);
/* oklch */ color: oklch(47.0% 0.156 339.0);
Tailwind
colors: {
  custom: {
    50: '#b36e9e',
    500: '#8f2d77',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d77;
$custom-light: #b36e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d77",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 314.694,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.15627,
    "h": 339
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#8F2D77
secondary
#62B676
accent
#DC6F4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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