#8D3156#8D3156

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

Color values

HEX#8D3156
RGBrgb(141, 49, 86)
HSLhsl(336, 48%, 37%)
HSVhsv(336, 65%, 55%)
CMYKcmyk(0%, 65.2%, 39%, 44.7%)
CIE-LABlab(35.07, 42.44, -1.35)
CIE-LCHlch(35.07, 42.46, 358.18°)
OKLaboklab(45.72% 0.1297 -0.003)
OKLCHoklch(45.72% 0.13 358.7)
XYZxyz(13.7634, 8.5328, 9.7245)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3156 #318D68
analogous
#8D3184 #8D3156 #8D3A31
triadic
#8D3156 #568D31 #31568D
tetradic
#8D3156 #848D31 #318D68 #3A318D
square
#8D3156 #848D31 #318D68 #3A318D
split-complementary
#8D3156 #318D3A #31848D
monochromatic
#32111F #60213A #8D3156 #BA4172 #CC6C93

Accessibility & contrast

On white

7.76
#8D3156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D3156
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3156#FFFFFF#000000##FFFFFF
##8D31561.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424757
Deuteranopia (green-blind)
#5A5954
Tritanopia (blue-blind)
#982840
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d3156;
/* rgb */ color: rgb(141, 49, 86);
/* oklch */ color: oklch(45.7% 0.130 358.7);
Tailwind
colors: {
  custom: {
    50: '#b26f85',
    500: '#8d3156',
    950: '#000000',
  },
}
SCSS
$custom: #8d3156;
$custom-light: #b26f85;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3156",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 86
  },
  "hsl": {
    "h": 335.87,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45719,
    "c": 0.12975,
    "h": 358.7
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3156

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

Preview Lab → · Contrast checker → · Palette generator →

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