#9B337B#9B337B

#9B337B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.159 H 342.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B337B
RGBrgb(155, 51, 123)
HSLhsl(318, 50%, 40%)
HSVhsv(318, 67%, 61%)
CMYKcmyk(0%, 67.1%, 20.6%, 39.2%)
CIE-LABlab(39.19, 50.72, -18.26)
CIE-LCHlch(39.19, 53.91, 340.21°)
OKLaboklab(49.67% 0.1518 -0.0489)
OKLCHoklch(49.67% 0.159 342.1)
XYZxyz(18.2771, 10.7680, 19.8509)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B337B #339B53
analogous
#87339B #9B337B #9B3347
triadic
#9B337B #7B9B33 #337B9B
tetradic
#9B337B #9B8733 #339B53 #33479B
square
#9B337B #9B8733 #339B53 #33479B
split-complementary
#9B337B #479B33 #339B87
monochromatic
#3F1532 #6D2456 #9B337B #C3489D #D276B6

Accessibility & contrast

On white

6.66
#9B337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B337B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B337B#FFFFFF#000000##FFFFFF
##9B337B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A43452
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b337b;
/* rgb */ color: rgb(155, 51, 123);
/* oklch */ color: oklch(49.7% 0.159 342.1);
Tailwind
colors: {
  custom: {
    50: '#bc72a1',
    500: '#9b337b',
    950: '#000000',
  },
}
SCSS
$custom: #9b337b;
$custom-light: #bc72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b337b",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 318.462,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.15944,
    "h": 342.1
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#9B337B
secondary
#6FBA86
accent
#DA794E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B337B

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

Preview Lab → · Contrast checker → · Palette generator →

#9B337B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva