#9C336C#9C336C

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

Color values

HEX#9C336C
RGBrgb(156, 51, 108)
HSLhsl(327, 51%, 41%)
HSVhsv(327, 67%, 61%)
CMYKcmyk(0%, 67.3%, 30.8%, 38.8%)
CIE-LABlab(38.76, 48.96, -9.54)
CIE-LCHlch(38.76, 49.88, 348.98°)
OKLaboklab(49.2% 0.1491 -0.0248)
OKLCHoklch(49.2% 0.151 350.6)
XYZxyz(17.6018, 10.5202, 15.2881)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C336C #339C63
analogous
#98339C #9C336C #9C3337
triadic
#9C336C #6C9C33 #336C9C
tetradic
#9C336C #9C9833 #339C63 #33379C
square
#9C336C #9C9833 #339C63 #33379C
split-complementary
#9C336C #379C33 #339C98
monochromatic
#40152C #6E244C #9C336C #C3498B #D377A9

Accessibility & contrast

On white

6.77
#9C336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C336C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C336C#FFFFFF#000000##FFFFFF
##9C336C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6E
Deuteranopia (green-blind)
#60626A
Tritanopia (blue-blind)
#A72E4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c336c;
/* rgb */ color: rgb(156, 51, 108);
/* oklch */ color: oklch(49.2% 0.151 350.6);
Tailwind
colors: {
  custom: {
    50: '#bd7296',
    500: '#9c336c',
    950: '#000000',
  },
}
SCSS
$custom: #9c336c;
$custom-light: #bd7296;
$custom-dark: #000000;
JSON
{
  "hex": "#9c336c",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 327.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.15115,
    "h": 350.6
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#9C336C
secondary
#70BB92
accent
#DA8E4E
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9C336C

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

Preview Lab → · Contrast checker → · Palette generator →

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