#8D3167#8D3167

#8D3167 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.138 H 347.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8D3167
RGBrgb(141, 49, 103)
HSLhsl(325, 48%, 37%)
HSVhsv(325, 65%, 55%)
CMYKcmyk(0%, 65.2%, 27%, 44.7%)
CIE-LABlab(35.67, 44.62, -11.30)
CIE-LCHlch(35.67, 46.03, 345.79°)
OKLaboklab(46.37% 0.1351 -0.0297)
OKLCHoklch(46.37% 0.138 347.6)
XYZxyz(14.5316, 8.8401, 13.7703)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3167 #318D57
analogous
#85318D #8D3167 #8D3139
triadic
#8D3167 #678D31 #31678D
tetradic
#8D3167 #8D8531 #318D57 #31398D
square
#8D3167 #8D8531 #318D57 #31398D
split-complementary
#8D3167 #398D31 #318D85
monochromatic
#321125 #602146 #8D3167 #BA4188 #CC6CA5

Accessibility & contrast

On white

7.59
#8D3167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D3167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3167
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3167#FFFFFF#000000##FFFFFF
##8D31671.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4A69
Deuteranopia (green-blind)
#565A65
Tritanopia (blue-blind)
#972E47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d3167;
/* rgb */ color: rgb(141, 49, 103);
/* oklch */ color: oklch(46.4% 0.138 347.6);
Tailwind
colors: {
  custom: {
    50: '#b16f92',
    500: '#8d3167',
    950: '#000000',
  },
}
SCSS
$custom: #8d3167;
$custom-light: #b16f92;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3167",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 324.783,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.13828,
    "h": 347.6
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#8D3167
secondary
#66B486
accent
#D88850
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080D
muted
#807B7D

Preview Lab

Preview with #8D3167

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

Preview Lab → · Contrast checker → · Palette generator →

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