#9C237A#9C237A

#9C237A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.179 H 342.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9C237A
RGBrgb(156, 35, 122)
HSLhsl(317, 63%, 37%)
HSVhsv(317, 78%, 61%)
CMYKcmyk(0%, 77.6%, 21.8%, 38.8%)
CIE-LABlab(37.26, 56.64, -20.60)
CIE-LCHlch(37.26, 60.27, 340.02°)
OKLaboklab(48.29% 0.1702 -0.0553)
OKLCHoklch(48.29% 0.179 342)
XYZxyz(17.8248, 9.6770, 19.3377)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C237A #239C45
analogous
#82239C #9C237A #9C233D
triadic
#9C237A #7A9C23 #237A9C
tetradic
#9C237A #9C8223 #239C45 #233D9C
square
#9C237A #9C8223 #239C45 #233D9C
split-complementary
#9C237A #3D9C23 #239C82
monochromatic
#380D2C #6A1853 #9C237A #CE2EA1 #DB5EB8

Accessibility & contrast

On white

7.16
#9C237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9C237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C237A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C237A#FFFFFF#000000##FFFFFF
##9C237A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A6254C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c237a;
/* rgb */ color: rgb(156, 35, 122);
/* oklch */ color: oklch(48.3% 0.179 342.0);
Tailwind
colors: {
  custom: {
    50: '#bd6ba0',
    500: '#9c237a',
    950: '#000000',
  },
}
SCSS
$custom: #9c237a;
$custom-light: #bd6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c237a",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 316.86,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.17901,
    "h": 342
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#9C237A
secondary
#5BC077
accent
#E67041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C237A

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

Preview Lab → · Contrast checker → · Palette generator →

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