#8D397D#8D397D

#8D397D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.142 H 335.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D397D
RGBrgb(141, 57, 125)
HSLhsl(311, 42%, 39%)
HSVhsv(311, 60%, 55%)
CMYKcmyk(0%, 59.6%, 11.3%, 44.7%)
CIE-LABlab(37.97, 44.31, -21.56)
CIE-LCHlch(37.97, 49.28, 334.05°)
OKLaboklab(48.36% 0.1289 -0.0585)
OKLCHoklch(48.36% 0.142 335.6)
XYZxyz(16.1494, 10.0709, 20.4914)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D397D #398D49
analogous
#73398D #8D397D #8D3953
triadic
#8D397D #7D8D39 #397D8D
tetradic
#8D397D #8D7339 #398D49 #39538D
square
#8D397D #8D7339 #398D49 #39538D
split-complementary
#8D397D #538D39 #398D73
monochromatic
#361630 #612756 #8D397D #B74CA3 #C878B9

Accessibility & contrast

On white

6.97
#8D397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D397D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D397D#FFFFFF#000000##FFFFFF
##8D397D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#943E55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d397d;
/* rgb */ color: rgb(141, 57, 125);
/* oklch */ color: oklch(48.4% 0.142 335.6);
Tailwind
colors: {
  custom: {
    50: '#b174a3',
    500: '#8d397d',
    950: '#000000',
  },
}
SCSS
$custom: #8d397d;
$custom-light: #b174a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d397d",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 311.429,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48361,
    "c": 0.14156,
    "h": 335.6
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D397D

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

Preview Lab → · Contrast checker → · Palette generator →

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