#8D336B#8D336B

#8D336B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.138 H 345.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8D336B
RGBrgb(141, 51, 107)
HSLhsl(323, 47%, 38%)
HSVhsv(323, 64%, 55%)
CMYKcmyk(0%, 63.8%, 24.1%, 44.7%)
CIE-LABlab(36.16, 44.29, -13.08)
CIE-LCHlch(36.16, 46.18, 343.54°)
OKLaboklab(46.78% 0.1333 -0.0347)
OKLCHoklch(46.78% 0.138 345.4)
XYZxyz(14.8227, 9.0933, 14.8816)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D336B #338D55
analogous
#82338D #8D336B #8D333E
triadic
#8D336B #6B8D33 #336B8D
tetradic
#8D336B #8D8233 #338D55 #333E8D
square
#8D336B #8D8233 #338D55 #333E8D
split-complementary
#8D336B #3E8D33 #338D82
monochromatic
#331227 #602349 #8D336B #BA438D #CB6FA8

Accessibility & contrast

On white

7.45
#8D336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D336B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D336B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D336B#FFFFFF#000000##FFFFFF
##8D336B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#565B69
Tritanopia (blue-blind)
#96324A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d336b;
/* rgb */ color: rgb(141, 51, 107);
/* oklch */ color: oklch(46.8% 0.138 345.4);
Tailwind
colors: {
  custom: {
    50: '#b17095',
    500: '#8d336b',
    950: '#000000',
  },
}
SCSS
$custom: #8d336b;
$custom-light: #b17095;
$custom-dark: #000000;
JSON
{
  "hex": "#8d336b",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 322.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.13777,
    "h": 345.4
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#8D336B
secondary
#69B385
accent
#D78451
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D336B

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

Preview Lab → · Contrast checker → · Palette generator →

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