#8D337A#8D337A

#8D337A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.148 H 336.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8D337A
RGBrgb(141, 51, 122)
HSLhsl(313, 47%, 38%)
HSVhsv(313, 64%, 55%)
CMYKcmyk(0%, 63.8%, 13.5%, 44.7%)
CIE-LABlab(36.81, 46.59, -21.49)
CIE-LCHlch(36.81, 51.31, 335.24°)
OKLaboklab(47.47% 0.1366 -0.0583)
OKLCHoklch(47.47% 0.148 336.9)
XYZxyz(15.6814, 9.4368, 19.4042)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D337A #338D46
analogous
#73338D #8D337A #8D334D
triadic
#8D337A #7A8D33 #337A8D
tetradic
#8D337A #8D7333 #338D46 #334D8D
square
#8D337A #8D7333 #338D46 #334D8D
split-complementary
#8D337A #4D8D33 #338D73
monochromatic
#33122C #602353 #8D337A #BA43A1 #CB6FB8

Accessibility & contrast

On white

7.27
#8D337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D337A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D337A#FFFFFF#000000##FFFFFF
##8D337A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#943751
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d337a;
/* rgb */ color: rgb(141, 51, 122);
/* oklch */ color: oklch(47.5% 0.148 336.9);
Tailwind
colors: {
  custom: {
    50: '#b171a0',
    500: '#8d337a',
    950: '#000000',
  },
}
SCSS
$custom: #8d337a;
$custom-light: #b171a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d337a",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 312.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.14848,
    "h": 336.9
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#8D337A
secondary
#69B378
accent
#D76D51
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8D337A

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

Preview Lab → · Contrast checker → · Palette generator →

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