#9C236E#9C236E

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

Color values

HEX#9C236E
RGBrgb(156, 35, 110)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 78%, 61%)
CMYKcmyk(0%, 77.6%, 29.5%, 38.8%)
CIE-LABlab(36.74, 55.09, -13.86)
CIE-LCHlch(36.74, 56.80, 345.88°)
OKLaboklab(47.74% 0.1679 -0.0365)
OKLCHoklch(47.74% 0.172 347.7)
XYZxyz(17.1267, 9.3977, 15.6608)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C236E #239C51
analogous
#8E239C #9C236E #9C2331
triadic
#9C236E #6E9C23 #236E9C
tetradic
#9C236E #9C8E23 #239C51 #23319C
square
#9C236E #9C8E23 #239C51 #23319C
split-complementary
#9C236E #319C23 #239C8E
monochromatic
#380D28 #6A184B #9C236E #CE2E91 #DB5EAC

Accessibility & contrast

On white

7.29
#9C236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9C236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C236E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C236E#FFFFFF#000000##FFFFFF
##9C236E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#A71D46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c236e;
/* rgb */ color: rgb(156, 35, 110);
/* oklch */ color: oklch(47.7% 0.172 347.7);
Tailwind
colors: {
  custom: {
    50: '#bd6b97',
    500: '#9c236e',
    950: '#000000',
  },
}
SCSS
$custom: #9c236e;
$custom-light: #bd6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c236e",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 322.81,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.17186,
    "h": 347.7
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#9C236E
secondary
#5BC081
accent
#E68041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C236E

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

Preview Lab → · Contrast checker → · Palette generator →

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