#9C337A#9C337A

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

Color values

HEX#9C337A
RGBrgb(156, 51, 122)
HSLhsl(319, 51%, 41%)
HSVhsv(319, 67%, 61%)
CMYKcmyk(0%, 67.3%, 21.8%, 38.8%)
CIE-LABlab(39.31, 50.86, -17.43)
CIE-LCHlch(39.31, 53.76, 341.09°)
OKLaboklab(49.79% 0.1526 -0.0466)
OKLCHoklch(49.79% 0.16 343)
XYZxyz(18.4076, 10.8425, 19.5320)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C337A #339C55
analogous
#8A339C #9C337A #9C3345
triadic
#9C337A #7A9C33 #337A9C
tetradic
#9C337A #9C8A33 #339C55 #33459C
square
#9C337A #9C8A33 #339C55 #33459C
split-complementary
#9C337A #459C33 #339C8A
monochromatic
#401532 #6E2456 #9C337A #C3499C #D377B5

Accessibility & contrast

On white

6.63
#9C337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C337A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C337A#FFFFFF#000000##FFFFFF
##9C337A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#A63352
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c337a;
/* rgb */ color: rgb(156, 51, 122);
/* oklch */ color: oklch(49.8% 0.160 343.0);
Tailwind
colors: {
  custom: {
    50: '#bc73a0',
    500: '#9c337a',
    950: '#000000',
  },
}
SCSS
$custom: #9c337a;
$custom-light: #bc73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c337a",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 319.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.15953,
    "h": 343
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#9C337A
secondary
#70BB88
accent
#DA7B4E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C337A

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

Preview Lab → · Contrast checker → · Palette generator →

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