#8F4D84#8F4D84

#8F4D84 is a mid, moderate pink. Relative luminance 0.128; OKLCH L 51.9% C 0.115 H 333.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F4D84
RGBrgb(143, 77, 132)
HSLhsl(310, 30%, 43%)
HSVhsv(310, 46%, 56%)
CMYKcmyk(0%, 46.2%, 7.7%, 43.9%)
CIE-LABlab(42.48, 35.83, -18.87)
CIE-LCHlch(42.48, 40.49, 332.23°)
OKLaboklab(51.87% 0.1027 -0.051)
OKLCHoklch(51.87% 0.115 333.6)
XYZxyz(18.1464, 12.8144, 23.3429)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4D84 #4D8F58
analogous
#794D8F #8F4D84 #8F4D63
triadic
#8F4D84 #848F4D #4D848F
tetradic
#8F4D84 #8F794D #4D8F58 #4D638F
square
#8F4D84 #8F794D #4D8F58 #4D638F
split-complementary
#8F4D84 #638F4D #4D8F79
monochromatic
#3F223B #67385F #8F4D84 #AF6AA3 #C492BC

Accessibility & contrast

On white

5.89
#8F4D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F4D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4D84
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4D84#FFFFFF#000000##FFFFFF
##8F4D841.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E86
Deuteranopia (green-blind)
#5E6882
Tritanopia (blue-blind)
#945162
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f4d84;
/* rgb */ color: rgb(143, 77, 132);
/* oklch */ color: oklch(51.9% 0.115 333.6);
Tailwind
colors: {
  custom: {
    50: '#b181a8',
    500: '#8f4d84',
    950: '#000000',
  },
}
SCSS
$custom: #8f4d84;
$custom-light: #b181a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4d84",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 310,
    "s": 30,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.11472,
    "h": 333.6
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#8F4D84
secondary
#87B18E
accent
#C67262
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8F4D84

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

Preview Lab → · Contrast checker → · Palette generator →

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