#8D3871#8D3871

#8D3871 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.134 H 342.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8D3871
RGBrgb(141, 56, 113)
HSLhsl(320, 43%, 39%)
HSVhsv(320, 60%, 55%)
CMYKcmyk(0%, 60.3%, 19.9%, 44.7%)
CIE-LABlab(37.27, 42.85, -15.17)
CIE-LCHlch(37.27, 45.45, 340.51°)
OKLaboklab(47.68% 0.1277 -0.0405)
OKLCHoklch(47.68% 0.134 342.4)
XYZxyz(15.3797, 9.6847, 16.6789)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3871 #388D54
analogous
#7E388D #8D3871 #8D3846
triadic
#8D3871 #718D38 #38718D
tetradic
#8D3871 #8D7E38 #388D54 #38468D
square
#8D3871 #8D7E38 #388D54 #38468D
split-complementary
#8D3871 #468D38 #388D7E
monochromatic
#35152B #61274E #8D3871 #B74B94 #C977AE

Accessibility & contrast

On white

7.15
#8D3871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D3871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3871
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3871#FFFFFF#000000##FFFFFF
##8D38711.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#95394F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3871;
/* rgb */ color: rgb(141, 56, 113);
/* oklch */ color: oklch(47.7% 0.134 342.4);
Tailwind
colors: {
  custom: {
    50: '#b1739a',
    500: '#8d3871',
    950: '#000000',
  },
}
SCSS
$custom: #8d3871;
$custom-light: #b1739a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3871",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 319.765,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.13401,
    "h": 342.4
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#8D3871
secondary
#6FB285
accent
#D37E55
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3871

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

Preview Lab → · Contrast checker → · Palette generator →

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