#8D397A#8D397A

#8D397A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.2% C 0.139 H 337.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8D397A
RGBrgb(141, 57, 122)
HSLhsl(314, 42%, 39%)
HSVhsv(314, 60%, 55%)
CMYKcmyk(0%, 59.6%, 13.5%, 44.7%)
CIE-LABlab(37.83, 43.81, -19.91)
CIE-LCHlch(37.83, 48.12, 335.56°)
OKLaboklab(48.22% 0.1283 -0.0538)
OKLCHoklch(48.22% 0.139 337.2)
XYZxyz(15.9607, 9.9954, 19.4973)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D397A #398D4C
analogous
#76398D #8D397A #8D3950
triadic
#8D397A #7A8D39 #397A8D
tetradic
#8D397A #8D7639 #398D4C #39508D
square
#8D397A #8D7639 #398D4C #39508D
split-complementary
#8D397A #508D39 #398D76
monochromatic
#36162F #612754 #8D397A #B74C9F #C878B6

Accessibility & contrast

On white

7.00
#8D397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D397A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D397A#FFFFFF#000000##FFFFFF
##8D397A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#943D54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d397a;
/* rgb */ color: rgb(141, 57, 122);
/* oklch */ color: oklch(48.2% 0.139 337.2);
Tailwind
colors: {
  custom: {
    50: '#b174a0',
    500: '#8d397a',
    950: '#000000',
  },
}
SCSS
$custom: #8d397a;
$custom-light: #b174a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d397a",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 313.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.13916,
    "h": 337.2
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#8D397A
secondary
#70B27F
accent
#D27256
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D397A

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

Preview Lab → · Contrast checker → · Palette generator →

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