#8D396F#8D396F

#8D396F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.131 H 343.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D396F
RGBrgb(141, 57, 111)
HSLhsl(321, 42%, 39%)
HSVhsv(321, 60%, 55%)
CMYKcmyk(0%, 59.6%, 21.3%, 44.7%)
CIE-LABlab(37.37, 42.06, -13.76)
CIE-LCHlch(37.37, 44.25, 341.88°)
OKLaboklab(47.72% 0.1258 -0.0366)
OKLCHoklch(47.72% 0.131 343.8)
XYZxyz(15.3173, 9.7380, 16.1088)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D396F #398D57
analogous
#81398D #8D396F #8D3945
triadic
#8D396F #6F8D39 #396F8D
tetradic
#8D396F #8D8139 #398D57 #39458D
square
#8D396F #8D8139 #398D57 #39458D
split-complementary
#8D396F #458D39 #398D81
monochromatic
#36162A #61274D #8D396F #B74C91 #C878AC

Accessibility & contrast

On white

7.12
#8D396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D396F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D396F#FFFFFF#000000##FFFFFF
##8D396F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#585D6D
Tritanopia (blue-blind)
#96394F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d396f;
/* rgb */ color: rgb(141, 57, 111);
/* oklch */ color: oklch(47.7% 0.131 343.8);
Tailwind
colors: {
  custom: {
    50: '#b17498',
    500: '#8d396f',
    950: '#000000',
  },
}
SCSS
$custom: #8d396f;
$custom-light: #b17498;
$custom-dark: #000000;
JSON
{
  "hex": "#8d396f",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 321.429,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.131,
    "h": 343.8
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#8D396F
secondary
#70B288
accent
#D28256
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D396F

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

Preview Lab → · Contrast checker → · Palette generator →

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