#9C237B#9C237B

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

Color values

HEX#9C237B
RGBrgb(156, 35, 123)
HSLhsl(316, 63%, 37%)
HSVhsv(316, 78%, 61%)
CMYKcmyk(0%, 77.6%, 21.2%, 38.8%)
CIE-LABlab(37.30, 56.78, -21.15)
CIE-LCHlch(37.30, 60.59, 339.57°)
OKLaboklab(48.34% 0.1704 -0.0569)
OKLCHoklch(48.34% 0.18 341.5)
XYZxyz(17.8871, 9.7019, 19.6657)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C237B #239C44
analogous
#81239C #9C237B #9C233E
triadic
#9C237B #7B9C23 #237B9C
tetradic
#9C237B #9C8123 #239C44 #233E9C
square
#9C237B #9C8123 #239C44 #233E9C
split-complementary
#9C237B #3E9C23 #239C81
monochromatic
#380D2C #6A1854 #9C237B #CE2EA2 #DB5EB9

Accessibility & contrast

On white

7.14
#9C237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C237B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C237B#FFFFFF#000000##FFFFFF
##9C237B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#555F78
Tritanopia (blue-blind)
#A6254D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c237b;
/* rgb */ color: rgb(156, 35, 123);
/* oklch */ color: oklch(48.3% 0.180 341.5);
Tailwind
colors: {
  custom: {
    50: '#bd6ba1',
    500: '#9c237b',
    950: '#000000',
  },
}
SCSS
$custom: #9c237b;
$custom-light: #bd6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c237b",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 316.364,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.17965,
    "h": 341.5
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#9C237B
secondary
#5BC077
accent
#E66E41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9C237B

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

Preview Lab → · Contrast checker → · Palette generator →

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