#8D397F#8D397F

#8D397F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.143 H 334.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8D397F
RGBrgb(141, 57, 127)
HSLhsl(310, 42%, 39%)
HSVhsv(310, 60%, 55%)
CMYKcmyk(0%, 59.6%, 9.9%, 44.7%)
CIE-LABlab(38.06, 44.65, -22.66)
CIE-LCHlch(38.06, 50.07, 333.09°)
OKLaboklab(48.46% 0.1293 -0.0616)
OKLCHoklch(48.46% 0.143 334.5)
XYZxyz(16.2785, 10.1225, 21.1710)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D397F #398D47
analogous
#71398D #8D397F #8D3955
triadic
#8D397F #7F8D39 #397F8D
tetradic
#8D397F #8D7139 #398D47 #39558D
square
#8D397F #8D7139 #398D47 #39558D
split-complementary
#8D397F #558D39 #398D71
monochromatic
#361630 #612758 #8D397F #B74CA5 #C878BB

Accessibility & contrast

On white

6.94
#8D397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D397F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D397F#FFFFFF#000000##FFFFFF
##8D397F1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#933E56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d397f;
/* rgb */ color: rgb(141, 57, 127);
/* oklch */ color: oklch(48.5% 0.143 334.5);
Tailwind
colors: {
  custom: {
    50: '#b174a4',
    500: '#8d397f',
    950: '#000000',
  },
}
SCSS
$custom: #8d397f;
$custom-light: #b174a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d397f",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 310,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.14321,
    "h": 334.5
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#8D397F
secondary
#70B27B
accent
#D26A56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D397F

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

Preview Lab → · Contrast checker → · Palette generator →

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