#8D397C#8D397C

#8D397C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.141 H 336.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D397C
RGBrgb(141, 57, 124)
HSLhsl(312, 42%, 39%)
HSVhsv(312, 60%, 55%)
CMYKcmyk(0%, 59.6%, 12.1%, 44.7%)
CIE-LABlab(37.92, 44.14, -21.01)
CIE-LCHlch(37.92, 48.89, 334.54°)
OKLaboklab(48.31% 0.1287 -0.057)
OKLCHoklch(48.31% 0.141 336.1)
XYZxyz(16.0859, 10.0455, 20.1566)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D397C #398D4A
analogous
#74398D #8D397C #8D3952
triadic
#8D397C #7C8D39 #397C8D
tetradic
#8D397C #8D7439 #398D4A #39528D
square
#8D397C #8D7439 #398D4A #39528D
split-complementary
#8D397C #528D39 #398D74
monochromatic
#36162F #612756 #8D397C #B74CA1 #C878B8

Accessibility & contrast

On white

6.98
#8D397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D397C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D397C#FFFFFF#000000##FFFFFF
##8D397C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#943D55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d397c;
/* rgb */ color: rgb(141, 57, 124);
/* oklch */ color: oklch(48.3% 0.141 336.1);
Tailwind
colors: {
  custom: {
    50: '#b174a2',
    500: '#8d397c',
    950: '#000000',
  },
}
SCSS
$custom: #8d397c;
$custom-light: #b174a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d397c",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 312.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.14076,
    "h": 336.1
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#8D397C
secondary
#70B27D
accent
#D26F56
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D397C

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

Preview Lab → · Contrast checker → · Palette generator →

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