#9C337C#9C337C

#9C337C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.161 H 342.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C337C
RGBrgb(156, 51, 124)
HSLhsl(318, 51%, 41%)
HSVhsv(318, 67%, 61%)
CMYKcmyk(0%, 67.3%, 20.5%, 38.8%)
CIE-LABlab(39.40, 51.15, -18.54)
CIE-LCHlch(39.40, 54.40, 340.08°)
OKLaboklab(49.88% 0.153 -0.0497)
OKLCHoklch(49.88% 0.161 342)
XYZxyz(18.5328, 10.8926, 20.1913)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C337C #339C53
analogous
#87339C #9C337C #9C3347
triadic
#9C337C #7C9C33 #337C9C
tetradic
#9C337C #9C8733 #339C53 #33479C
square
#9C337C #9C8733 #339C53 #33479C
split-complementary
#9C337C #479C33 #339C87
monochromatic
#401533 #6E2457 #9C337C #C3499E #D377B7

Accessibility & contrast

On white

6.61
#9C337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C337C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C337C#FFFFFF#000000##FFFFFF
##9C337C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#A63453
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c337c;
/* rgb */ color: rgb(156, 51, 124);
/* oklch */ color: oklch(49.9% 0.161 342.0);
Tailwind
colors: {
  custom: {
    50: '#bc73a2',
    500: '#9c337c',
    950: '#000000',
  },
}
SCSS
$custom: #9c337c;
$custom-light: #bc73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c337c",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 318.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.16085,
    "h": 342
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C337C

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

Preview Lab → · Contrast checker → · Palette generator →

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