#8D336A#8D336A

#8D336A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.7% C 0.137 H 346.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8D336A
RGBrgb(141, 51, 106)
HSLhsl(323, 47%, 38%)
HSVhsv(323, 64%, 55%)
CMYKcmyk(0%, 63.8%, 24.8%, 44.7%)
CIE-LABlab(36.12, 44.15, -12.51)
CIE-LCHlch(36.12, 45.89, 344.17°)
OKLaboklab(46.74% 0.1331 -0.0331)
OKLCHoklch(46.74% 0.137 346)
XYZxyz(14.7704, 9.0724, 14.6061)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D336A #338D56
analogous
#83338D #8D336A #8D333D
triadic
#8D336A #6A8D33 #336A8D
tetradic
#8D336A #8D8333 #338D56 #333D8D
square
#8D336A #8D8333 #338D56 #333D8D
split-complementary
#8D336A #3D8D33 #338D83
monochromatic
#331226 #602348 #8D336A #BA438C #CB6FA7

Accessibility & contrast

On white

7.46
#8D336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D336A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D336A#FFFFFF#000000##FFFFFF
##8D336A1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#565B68
Tritanopia (blue-blind)
#96314A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d336a;
/* rgb */ color: rgb(141, 51, 106);
/* oklch */ color: oklch(46.7% 0.137 346.0);
Tailwind
colors: {
  custom: {
    50: '#b17094',
    500: '#8d336a',
    950: '#000000',
  },
}
SCSS
$custom: #8d336a;
$custom-light: #b17094;
$custom-dark: #000000;
JSON
{
  "hex": "#8d336a",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 323.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46735,
    "c": 0.13713,
    "h": 346
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#8D336A
secondary
#69B386
accent
#D78551
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D336A

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

Preview Lab → · Contrast checker → · Palette generator →

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