#8F396B#8F396B

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

Color values

HEX#8F396B
RGBrgb(143, 57, 107)
HSLhsl(325, 43%, 39%)
HSVhsv(325, 60%, 56%)
CMYKcmyk(0%, 60.1%, 25.2%, 43.9%)
CIE-LABlab(37.53, 42.10, -10.97)
CIE-LCHlch(37.53, 43.51, 345.39°)
OKLaboklab(47.86% 0.1269 -0.0289)
OKLCHoklch(47.86% 0.13 347.2)
XYZxyz(15.4452, 9.8289, 14.9908)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F396B #398F5D
analogous
#88398F #8F396B #8F3940
triadic
#8F396B #6B8F39 #396B8F
tetradic
#8F396B #8F8839 #398F5D #39408F
square
#8F396B #8F8839 #398F5D #39408F
split-complementary
#8F396B #408F39 #398F88
monochromatic
#37162A #63284A #8F396B #B84D8B #CA79A8

Accessibility & contrast

On white

7.08
#8F396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F396B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F396B#FFFFFF#000000##FFFFFF
##8F396B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#98374D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f396b;
/* rgb */ color: rgb(143, 57, 107);
/* oklch */ color: oklch(47.9% 0.130 347.2);
Tailwind
colors: {
  custom: {
    50: '#b37495',
    500: '#8f396b',
    950: '#000000',
  },
}
SCSS
$custom: #8f396b;
$custom-light: #b37495;
$custom-dark: #000000;
JSON
{
  "hex": "#8f396b",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 325.116,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.13015,
    "h": 347.2
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#8F396B
secondary
#71B38D
accent
#D38A55
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F396B

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

Preview Lab → · Contrast checker → · Palette generator →

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