#8D3B71#8D3B71

#8D3B71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.1% C 0.129 H 342.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D3B71
RGBrgb(141, 59, 113)
HSLhsl(320, 41%, 39%)
HSVhsv(320, 58%, 55%)
CMYKcmyk(0%, 58.2%, 19.9%, 44.7%)
CIE-LABlab(37.81, 41.39, -14.34)
CIE-LCHlch(37.81, 43.80, 340.89°)
OKLaboklab(48.08% 0.1233 -0.0382)
OKLCHoklch(48.08% 0.129 342.8)
XYZxyz(15.5295, 9.9842, 16.7288)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3B71 #3B8D57
analogous
#803B8D #8D3B71 #8D3B48
triadic
#8D3B71 #718D3B #3B718D
tetradic
#8D3B71 #8D803B #3B8D57 #3B488D
square
#8D3B71 #8D803B #3B8D57 #3B488D
split-complementary
#8D3B71 #488D3B #3B8D80
monochromatic
#37172C #62294E #8D3B71 #B65093 #C87BAD

Accessibility & contrast

On white

7.01
#8D3B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D3B71
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3B71#FFFFFF#000000##FFFFFF
##8D3B711.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#953B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3b71;
/* rgb */ color: rgb(141, 59, 113);
/* oklch */ color: oklch(48.1% 0.129 342.8);
Tailwind
colors: {
  custom: {
    50: '#b1759a',
    500: '#8d3b71',
    950: '#000000',
  },
}
SCSS
$custom: #8d3b71;
$custom-light: #b1759a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3b71",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 320.488,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48077,
    "c": 0.12913,
    "h": 342.8
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#8D3B71
secondary
#73B188
accent
#D18157
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8D3B71

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

Preview Lab → · Contrast checker → · Palette generator →

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