#9C236F#9C236F

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

Color values

HEX#9C236F
RGBrgb(156, 35, 111)
HSLhsl(322, 63%, 37%)
HSVhsv(322, 78%, 61%)
CMYKcmyk(0%, 77.6%, 28.8%, 38.8%)
CIE-LABlab(36.78, 55.21, -14.43)
CIE-LCHlch(36.78, 57.07, 345.35°)
OKLaboklab(47.79% 0.1682 -0.0381)
OKLCHoklch(47.79% 0.172 347.2)
XYZxyz(17.1814, 9.4196, 15.9492)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C236F #239C50
analogous
#8D239C #9C236F #9C2332
triadic
#9C236F #6F9C23 #236F9C
tetradic
#9C236F #9C8D23 #239C50 #23329C
square
#9C236F #9C8D23 #239C50 #23329C
split-complementary
#9C236F #329C23 #239C8D
monochromatic
#380D28 #6A184B #9C236F #CE2E93 #DB5EAD

Accessibility & contrast

On white

7.28
#9C236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C236F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C236F#FFFFFF#000000##FFFFFF
##9C236F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A71E46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c236f;
/* rgb */ color: rgb(156, 35, 111);
/* oklch */ color: oklch(47.8% 0.172 347.2);
Tailwind
colors: {
  custom: {
    50: '#bd6b98',
    500: '#9c236f',
    950: '#000000',
  },
}
SCSS
$custom: #9c236f;
$custom-light: #bd6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9c236f",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 322.314,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.17241,
    "h": 347.2
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#9C236F
secondary
#5BC080
accent
#E67F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C236F

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

Preview Lab → · Contrast checker → · Palette generator →

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