#8D3E71#8D3E71

#8D3E71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.5% C 0.124 H 343.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D3E71
RGBrgb(141, 62, 113)
HSLhsl(321, 39%, 40%)
HSVhsv(321, 56%, 55%)
CMYKcmyk(0%, 56%, 19.9%, 44.7%)
CIE-LABlab(38.38, 39.88, -13.48)
CIE-LCHlch(38.38, 42.10, 341.33°)
OKLaboklab(48.5% 0.1188 -0.0359)
OKLCHoklch(48.5% 0.124 343.2)
XYZxyz(15.6881, 10.3015, 16.7817)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3E71 #3E8D5A
analogous
#823E8D #8D3E71 #8D3E4A
triadic
#8D3E71 #718D3E #3E718D
tetradic
#8D3E71 #8D823E #3E8D5A #3E4A8D
square
#8D3E71 #8D823E #3E8D5A #3E4A8D
split-complementary
#8D3E71 #4A8D3E #3E8D82
monochromatic
#38192D #622B4F #8D3E71 #B45492 #C77FAD

Accessibility & contrast

On white

6.86
#8D3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D3E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3E71
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3E71#FFFFFF#000000##FFFFFF
##8D3E711.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#953E52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3e71;
/* rgb */ color: rgb(141, 62, 113);
/* oklch */ color: oklch(48.5% 0.124 343.2);
Tailwind
colors: {
  custom: {
    50: '#b1779a',
    500: '#8d3e71',
    950: '#000000',
  },
}
SCSS
$custom: #8d3e71;
$custom-light: #b1779a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3e71",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 321.266,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.12411,
    "h": 343.2
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#8D3E71
secondary
#76B18B
accent
#CF8359
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8D3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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