#8D3161#8D3161

#8D3161 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.135 H 351.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D3161
RGBrgb(141, 49, 97)
HSLhsl(329, 48%, 37%)
HSVhsv(329, 65%, 55%)
CMYKcmyk(0%, 65.2%, 31.2%, 44.7%)
CIE-LABlab(35.45, 43.81, -7.82)
CIE-LCHlch(35.45, 44.50, 349.87°)
OKLaboklab(46.12% 0.1333 -0.0202)
OKLCHoklch(46.12% 0.135 351.4)
XYZxyz(14.2412, 8.7239, 12.2408)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3161 #318D5D
analogous
#8B318D #8D3161 #8D3133
triadic
#8D3161 #618D31 #31618D
tetradic
#8D3161 #8D8B31 #318D5D #31338D
square
#8D3161 #8D8B31 #318D5D #31338D
split-complementary
#8D3161 #338D31 #318D8B
monochromatic
#321123 #602142 #8D3161 #BA4180 #CC6C9E

Accessibility & contrast

On white

7.65
#8D3161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D3161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3161
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3161#FFFFFF#000000##FFFFFF
##8D31611.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4962
Deuteranopia (green-blind)
#58595F
Tritanopia (blue-blind)
#972C45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d3161;
/* rgb */ color: rgb(141, 49, 97);
/* oklch */ color: oklch(46.1% 0.135 351.4);
Tailwind
colors: {
  custom: {
    50: '#b26f8d',
    500: '#8d3161',
    950: '#000000',
  },
}
SCSS
$custom: #8d3161;
$custom-light: #b26f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3161",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 328.696,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.13486,
    "h": 351.4
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#8D3161
secondary
#66B48B
accent
#D89150
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D3161

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

Preview Lab → · Contrast checker → · Palette generator →

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