#9C236D#9C236D

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

Color values

HEX#9C236D
RGBrgb(156, 35, 109)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 78%, 61%)
CMYKcmyk(0%, 77.6%, 30.1%, 38.8%)
CIE-LABlab(36.70, 54.96, -13.29)
CIE-LCHlch(36.70, 56.55, 346.41°)
OKLaboklab(47.7% 0.1677 -0.0349)
OKLCHoklch(47.7% 0.171 348.2)
XYZxyz(17.0725, 9.3761, 15.3757)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C236D #239C52
analogous
#8F239C #9C236D #9C2330
triadic
#9C236D #6D9C23 #236D9C
tetradic
#9C236D #9C8F23 #239C52 #23309C
square
#9C236D #9C8F23 #239C52 #23309C
split-complementary
#9C236D #309C23 #239C8F
monochromatic
#380D27 #6A184A #9C236D #CE2E90 #DB5EAB

Accessibility & contrast

On white

7.30
#9C236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C236D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C236D#FFFFFF#000000##FFFFFF
##9C236D1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#A71D45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c236d;
/* rgb */ color: rgb(156, 35, 109);
/* oklch */ color: oklch(47.7% 0.171 348.2);
Tailwind
colors: {
  custom: {
    50: '#bd6b97',
    500: '#9c236d',
    950: '#000000',
  },
}
SCSS
$custom: #9c236d;
$custom-light: #bd6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c236d",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 323.306,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.477,
    "c": 0.1713,
    "h": 348.2
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#9C236D
secondary
#5BC082
accent
#E68141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C236D

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

Preview Lab → · Contrast checker → · Palette generator →

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