#8D337D#8D337D

#8D337D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.151 H 335.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8D337D
RGBrgb(141, 51, 125)
HSLhsl(311, 47%, 38%)
HSVhsv(311, 64%, 55%)
CMYKcmyk(0%, 63.8%, 11.3%, 44.7%)
CIE-LABlab(36.95, 47.08, -23.14)
CIE-LCHlch(36.95, 52.46, 333.83°)
OKLaboklab(47.62% 0.1371 -0.063)
OKLCHoklch(47.62% 0.151 335.3)
XYZxyz(15.8701, 9.5123, 20.3983)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D337D #338D43
analogous
#70338D #8D337D #8D3350
triadic
#8D337D #7D8D33 #337D8D
tetradic
#8D337D #8D7033 #338D43 #33508D
square
#8D337D #8D7033 #338D43 #33508D
split-complementary
#8D337D #508D33 #338D70
monochromatic
#33122D #602355 #8D337D #BA43A5 #CB6FBB

Accessibility & contrast

On white

7.24
#8D337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D337D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D337D#FFFFFF#000000##FFFFFF
##8D337D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#943853
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d337d;
/* rgb */ color: rgb(141, 51, 125);
/* oklch */ color: oklch(47.6% 0.151 335.3);
Tailwind
colors: {
  custom: {
    50: '#b171a3',
    500: '#8d337d',
    950: '#000000',
  },
}
SCSS
$custom: #8d337d;
$custom-light: #b171a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d337d",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 310.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.15083,
    "h": 335.3
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#8D337D
secondary
#69B376
accent
#D76951
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D337D

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

Preview Lab → · Contrast checker → · Palette generator →

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