#9B337A#9B337A

#9B337A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.159 H 342.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9B337A
RGBrgb(155, 51, 122)
HSLhsl(319, 50%, 40%)
HSVhsv(319, 67%, 61%)
CMYKcmyk(0%, 67.1%, 21.3%, 39.2%)
CIE-LABlab(39.14, 50.58, -17.70)
CIE-LCHlch(39.14, 53.59, 340.71°)
OKLaboklab(49.63% 0.1516 -0.0474)
OKLCHoklch(49.63% 0.159 342.6)
XYZxyz(18.2148, 10.7431, 19.5229)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B337A #339B54
analogous
#88339B #9B337A #9B3346
triadic
#9B337A #7A9B33 #337A9B
tetradic
#9B337A #9B8833 #339B54 #33469B
square
#9B337A #9B8833 #339B54 #33469B
split-complementary
#9B337A #469B33 #339B88
monochromatic
#3F1532 #6D2456 #9B337A #C3489C #D276B5

Accessibility & contrast

On white

6.67
#9B337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B337A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B337A#FFFFFF#000000##FFFFFF
##9B337A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#5B6277
Tritanopia (blue-blind)
#A53452
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b337a;
/* rgb */ color: rgb(155, 51, 122);
/* oklch */ color: oklch(49.6% 0.159 342.6);
Tailwind
colors: {
  custom: {
    50: '#bc72a0',
    500: '#9b337a',
    950: '#000000',
  },
}
SCSS
$custom: #9b337a;
$custom-light: #bc72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b337a",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 319.038,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.15877,
    "h": 342.6
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#9B337A
secondary
#6FBA87
accent
#DA7A4E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B337A

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

Preview Lab → · Contrast checker → · Palette generator →

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