#9C337B#9C337B

#9C337B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.160 H 342.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9C337B
RGBrgb(156, 51, 123)
HSLhsl(319, 51%, 41%)
HSVhsv(319, 67%, 61%)
CMYKcmyk(0%, 67.3%, 21.2%, 38.8%)
CIE-LABlab(39.36, 51.00, -17.98)
CIE-LCHlch(39.36, 54.08, 340.58°)
OKLaboklab(49.83% 0.1528 -0.0481)
OKLCHoklch(49.83% 0.16 342.5)
XYZxyz(18.4698, 10.8674, 19.8599)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C337B #339C54
analogous
#88339C #9C337B #9C3346
triadic
#9C337B #7B9C33 #337B9C
tetradic
#9C337B #9C8833 #339C54 #33469C
square
#9C337B #9C8833 #339C54 #33469C
split-complementary
#9C337B #469C33 #339C88
monochromatic
#401532 #6E2457 #9C337B #C3499D #D377B6

Accessibility & contrast

On white

6.62
#9C337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9C337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C337B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C337B#FFFFFF#000000##FFFFFF
##9C337B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A63452
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c337b;
/* rgb */ color: rgb(156, 51, 123);
/* oklch */ color: oklch(49.8% 0.160 342.5);
Tailwind
colors: {
  custom: {
    50: '#bc73a1',
    500: '#9c337b',
    950: '#000000',
  },
}
SCSS
$custom: #9c337b;
$custom-light: #bc73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c337b",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 318.857,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.16019,
    "h": 342.5
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#9C337B
secondary
#70BB87
accent
#DA7A4E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9C337B

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

Preview Lab → · Contrast checker → · Palette generator →

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