#8D3157#8D3157

#8D3157 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.130 H 358.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8D3157
RGBrgb(141, 49, 87)
HSLhsl(335, 48%, 37%)
HSVhsv(335, 65%, 55%)
CMYKcmyk(0%, 65.2%, 38.3%, 44.7%)
CIE-LABlab(35.10, 42.56, -1.94)
CIE-LCHlch(35.10, 42.60, 357.38°)
OKLaboklab(45.75% 0.1301 -0.0046)
OKLCHoklch(45.75% 0.13 358)
XYZxyz(13.8040, 8.5490, 9.9382)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3157 #318D67
analogous
#8D3185 #8D3157 #8D3931
triadic
#8D3157 #578D31 #31578D
tetradic
#8D3157 #858D31 #318D67 #39318D
square
#8D3157 #858D31 #318D67 #39318D
split-complementary
#8D3157 #318D39 #31858D
monochromatic
#32111F #60213B #8D3157 #BA4173 #CC6C94

Accessibility & contrast

On white

7.75
#8D3157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D3157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3157
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3157#FFFFFF#000000##FFFFFF
##8D31571.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414858
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#982940
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d3157;
/* rgb */ color: rgb(141, 49, 87);
/* oklch */ color: oklch(45.8% 0.130 358.0);
Tailwind
colors: {
  custom: {
    50: '#b26f86',
    500: '#8d3157',
    950: '#000000',
  },
}
SCSS
$custom: #8d3157;
$custom-light: #b26f86;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3157",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 335.217,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.13015,
    "h": 358
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

primary
#8D3157
secondary
#66B494
accent
#D8A050
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8D3157

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

Preview Lab → · Contrast checker → · Palette generator →

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