#9B337D#9B337D

#9B337D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.161 H 341.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9B337D
RGBrgb(155, 51, 125)
HSLhsl(317, 50%, 40%)
HSVhsv(317, 67%, 61%)
CMYKcmyk(0%, 67.1%, 19.4%, 39.2%)
CIE-LABlab(39.27, 51.02, -19.36)
CIE-LCHlch(39.27, 54.57, 339.22°)
OKLaboklab(49.77% 0.1522 -0.052)
OKLCHoklch(49.77% 0.161 341.1)
XYZxyz(18.4036, 10.8186, 20.5170)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B337D #339B51
analogous
#85339B #9B337D #9B3349
triadic
#9B337D #7D9B33 #337D9B
tetradic
#9B337D #9B8533 #339B51 #33499B
square
#9B337D #9B8533 #339B51 #33499B
split-complementary
#9B337D #499B33 #339B85
monochromatic
#3F1533 #6D2458 #9B337D #C348A0 #D276B8

Accessibility & contrast

On white

6.64
#9B337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B337D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B337D#FFFFFF#000000##FFFFFF
##9B337D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#A43553
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b337d;
/* rgb */ color: rgb(155, 51, 125);
/* oklch */ color: oklch(49.8% 0.161 341.1);
Tailwind
colors: {
  custom: {
    50: '#bc73a2',
    500: '#9b337d',
    950: '#000000',
  },
}
SCSS
$custom: #9b337d;
$custom-light: #bc73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b337d",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 317.308,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.1608,
    "h": 341.1
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#9B337D
secondary
#6FBA85
accent
#DA764E
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B337D

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

Preview Lab → · Contrast checker → · Palette generator →

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