#9C336B#9C336B

#9C336B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.151 H 351.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9C336B
RGBrgb(156, 51, 107)
HSLhsl(328, 51%, 41%)
HSVhsv(328, 67%, 61%)
CMYKcmyk(0%, 67.3%, 31.4%, 38.8%)
CIE-LABlab(38.72, 48.84, -8.96)
CIE-LCHlch(38.72, 49.65, 349.60°)
OKLaboklab(49.16% 0.1488 -0.0232)
OKLCHoklch(49.16% 0.151 351.1)
XYZxyz(17.5488, 10.4990, 15.0094)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C336B #339C64
analogous
#98339C #9C336B #9C3336
triadic
#9C336B #6B9C33 #336B9C
tetradic
#9C336B #9C9833 #339C64 #33369C
square
#9C336B #9C9833 #339C64 #33369C
split-complementary
#9C336B #369C33 #339C98
monochromatic
#40152C #6E244B #9C336B #C3498A #D377A8

Accessibility & contrast

On white

6.78
#9C336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C336B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C336B#FFFFFF#000000##FFFFFF
##9C336B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6D
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#A72D4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c336b;
/* rgb */ color: rgb(156, 51, 107);
/* oklch */ color: oklch(49.2% 0.151 351.1);
Tailwind
colors: {
  custom: {
    50: '#bd7295',
    500: '#9c336b',
    950: '#000000',
  },
}
SCSS
$custom: #9c336b;
$custom-light: #bd7295;
$custom-dark: #000000;
JSON
{
  "hex": "#9c336b",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 328,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.15061,
    "h": 351.1
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#9C336B
secondary
#70BB93
accent
#DA8F4E
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9C336B

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

Preview Lab → · Contrast checker → · Palette generator →

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