#8D3A71#8D3A71

#8D3A71 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 47.9% C 0.131 H 342.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8D3A71
RGBrgb(141, 58, 113)
HSLhsl(320, 42%, 39%)
HSVhsv(320, 59%, 55%)
CMYKcmyk(0%, 58.9%, 19.9%, 44.7%)
CIE-LABlab(37.63, 41.88, -14.62)
CIE-LCHlch(37.63, 44.36, 340.76°)
OKLaboklab(47.94% 0.1248 -0.039)
OKLCHoklch(47.94% 0.131 342.7)
XYZxyz(15.4786, 9.8824, 16.7119)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3A71 #3A8D56
analogous
#803A8D #8D3A71 #8D3A48
triadic
#8D3A71 #718D3A #3A718D
tetradic
#8D3A71 #8D803A #3A8D56 #3A488D
square
#8D3A71 #8D803A #3A8D56 #3A488D
split-complementary
#8D3A71 #488D3A #3A8D80
monochromatic
#36162B #62284E #8D3A71 #B64E93 #C879AD

Accessibility & contrast

On white

7.06
#8D3A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D3A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3A71
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3A71#FFFFFF#000000##FFFFFF
##8D3A711.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3a71;
/* rgb */ color: rgb(141, 58, 113);
/* oklch */ color: oklch(47.9% 0.131 342.7);
Tailwind
colors: {
  custom: {
    50: '#b1759a',
    500: '#8d3a71',
    950: '#000000',
  },
}
SCSS
$custom: #8d3a71;
$custom-light: #b1759a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3a71",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 320.241,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.13077,
    "h": 342.7
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#8D3A71
secondary
#71B187
accent
#D28056
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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