#8D3771#8D3771

#8D3771 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.5% C 0.136 H 342.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8D3771
RGBrgb(141, 55, 113)
HSLhsl(320, 44%, 38%)
HSVhsv(320, 61%, 55%)
CMYKcmyk(0%, 61%, 19.9%, 44.7%)
CIE-LABlab(37.09, 43.33, -15.44)
CIE-LCHlch(37.09, 45.99, 340.39°)
OKLaboklab(47.54% 0.1292 -0.0412)
OKLCHoklch(47.54% 0.136 342.3)
XYZxyz(15.3317, 9.5887, 16.6629)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3771 #378D53
analogous
#7E378D #8D3771 #8D3746
triadic
#8D3771 #718D37 #37718D
tetradic
#8D3771 #8D7E37 #378D53 #37468D
square
#8D3771 #8D7E37 #378D53 #37468D
split-complementary
#8D3771 #468D37 #378D7E
monochromatic
#35152A #61264E #8D3771 #B84994 #C975AE

Accessibility & contrast

On white

7.20
#8D3771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D3771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3771
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3771#FFFFFF#000000##FFFFFF
##8D37711.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#565C6F
Tritanopia (blue-blind)
#95384F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d3771;
/* rgb */ color: rgb(141, 55, 113);
/* oklch */ color: oklch(47.5% 0.136 342.3);
Tailwind
colors: {
  custom: {
    50: '#b1739a',
    500: '#8d3771',
    950: '#000000',
  },
}
SCSS
$custom: #8d3771;
$custom-light: #b1739a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3771",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 319.535,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.13561,
    "h": 342.3
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#8D3771
secondary
#6EB284
accent
#D47E54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3771

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

Preview Lab → · Contrast checker → · Palette generator →

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