#8B336A#8B336A

#8B336A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.135 H 345.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8B336A
RGBrgb(139, 51, 106)
HSLhsl(323, 46%, 37%)
HSVhsv(323, 63%, 55%)
CMYKcmyk(0%, 63.3%, 23.7%, 45.5%)
CIE-LABlab(35.79, 43.53, -13.05)
CIE-LCHlch(35.79, 45.44, 343.31°)
OKLaboklab(46.42% 0.1309 -0.0346)
OKLCHoklch(46.42% 0.135 345.2)
XYZxyz(14.4333, 8.8986, 14.5903)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B336A #338B54
analogous
#80338B #8B336A #8B333E
triadic
#8B336A #6A8B33 #336A8B
tetradic
#8B336A #8B8033 #338B54 #333E8B
square
#8B336A #8B8033 #338B54 #333E8B
split-complementary
#8B336A #3E8B33 #338B80
monochromatic
#311226 #5E2348 #8B336A #B8438C #CA6EA8

Accessibility & contrast

On white

7.56
#8B336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B336A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B336A#FFFFFF#000000##FFFFFF
##8B336A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#94324A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b336a;
/* rgb */ color: rgb(139, 51, 106);
/* oklch */ color: oklch(46.4% 0.135 345.2);
Tailwind
colors: {
  custom: {
    50: '#b07094',
    500: '#8b336a',
    950: '#000000',
  },
}
SCSS
$custom: #8b336a;
$custom-light: #b07094;
$custom-dark: #000000;
JSON
{
  "hex": "#8b336a",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 322.5,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.13543,
    "h": 345.2
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#8B336A
secondary
#68B284
accent
#D68352
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8B336A

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

Preview Lab → · Contrast checker → · Palette generator →

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