#9C236C#9C236C

#9C236C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.171 H 348.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9C236C
RGBrgb(156, 35, 108)
HSLhsl(324, 63%, 37%)
HSVhsv(324, 78%, 61%)
CMYKcmyk(0%, 77.6%, 30.8%, 38.8%)
CIE-LABlab(36.66, 54.84, -12.72)
CIE-LCHlch(36.66, 56.30, 346.94°)
OKLaboklab(47.66% 0.1675 -0.0334)
OKLCHoklch(47.66% 0.171 348.7)
XYZxyz(17.0190, 9.3547, 15.0938)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C236C #239C53
analogous
#90239C #9C236C #9C232F
triadic
#9C236C #6C9C23 #236C9C
tetradic
#9C236C #9C9023 #239C53 #232F9C
square
#9C236C #9C9023 #239C53 #232F9C
split-complementary
#9C236C #2F9C23 #239C90
monochromatic
#380D27 #6A1849 #9C236C #CE2E8F #DB5EAA

Accessibility & contrast

On white

7.32
#9C236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C236C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C236C#FFFFFF#000000##FFFFFF
##9C236C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#A81C45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c236c;
/* rgb */ color: rgb(156, 35, 108);
/* oklch */ color: oklch(47.7% 0.171 348.7);
Tailwind
colors: {
  custom: {
    50: '#bd6b96',
    500: '#9c236c',
    950: '#000000',
  },
}
SCSS
$custom: #9c236c;
$custom-light: #bd6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9c236c",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 323.802,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.17075,
    "h": 348.7
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#9C236C
secondary
#5BC083
accent
#E68341
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C236C

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

Preview Lab → · Contrast checker → · Palette generator →

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