#9C337E#9C337E

#9C337E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.162 H 341.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9C337E
RGBrgb(156, 51, 126)
HSLhsl(317, 51%, 41%)
HSVhsv(317, 67%, 61%)
CMYKcmyk(0%, 67.3%, 19.2%, 38.8%)
CIE-LABlab(39.49, 51.44, -19.64)
CIE-LCHlch(39.49, 55.06, 339.10°)
OKLaboklab(49.97% 0.1534 -0.0528)
OKLCHoklch(49.97% 0.162 341)
XYZxyz(18.6605, 10.9437, 20.8642)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C337E #339C51
analogous
#85339C #9C337E #9C3349
triadic
#9C337E #7E9C33 #337E9C
tetradic
#9C337E #9C8533 #339C51 #33499C
square
#9C337E #9C8533 #339C51 #33499C
split-complementary
#9C337E #499C33 #339C85
monochromatic
#401533 #6E2459 #9C337E #C349A0 #D377B8

Accessibility & contrast

On white

6.59
#9C337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C337E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C337E#FFFFFF#000000##FFFFFF
##9C337E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#A53554
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c337e;
/* rgb */ color: rgb(156, 51, 126);
/* oklch */ color: oklch(50.0% 0.162 341.0);
Tailwind
colors: {
  custom: {
    50: '#bc73a3',
    500: '#9c337e',
    950: '#000000',
  },
}
SCSS
$custom: #9c337e;
$custom-light: #bc73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c337e",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 317.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.16221,
    "h": 341
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#9C337E
secondary
#70BB85
accent
#DA764E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C337E

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

Preview Lab → · Contrast checker → · Palette generator →

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