#8F3772#8F3772

#8F3772 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.138 H 342.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F3772
RGBrgb(143, 55, 114)
HSLhsl(320, 44%, 39%)
HSVhsv(320, 62%, 56%)
CMYKcmyk(0%, 61.5%, 20.3%, 43.9%)
CIE-LABlab(37.46, 44.09, -15.47)
CIE-LCHlch(37.46, 46.73, 340.66°)
OKLaboklab(47.89% 0.1316 -0.0413)
OKLCHoklch(47.89% 0.138 342.6)
XYZxyz(15.7315, 9.7883, 16.9771)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3772 #378F54
analogous
#80378F #8F3772 #8F3746
triadic
#8F3772 #728F37 #37728F
tetradic
#8F3772 #8F8037 #378F54 #37468F
square
#8F3772 #8F8037 #378F54 #37468F
split-complementary
#8F3772 #468F37 #378F80
monochromatic
#37152C #63264F #8F3772 #B94A95 #CA76AF

Accessibility & contrast

On white

7.10
#8F3772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F3772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3772
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3772#FFFFFF#000000##FFFFFF
##8F37721.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#98374F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f3772;
/* rgb */ color: rgb(143, 55, 114);
/* oklch */ color: oklch(47.9% 0.138 342.6);
Tailwind
colors: {
  custom: {
    50: '#b2739a',
    500: '#8f3772',
    950: '#000000',
  },
}
SCSS
$custom: #8f3772;
$custom-light: #b2739a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3772",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 319.773,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.13796,
    "h": 342.6
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#8F3772
secondary
#6FB385
accent
#D47E54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F3772

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

Preview Lab → · Contrast checker → · Palette generator →

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