#9C1B5A#9C1B5A

#9C1B5A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.170 H 357.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9C1B5A
RGBrgb(156, 27, 90)
HSLhsl(331, 70%, 36%)
HSVhsv(331, 83%, 61%)
CMYKcmyk(0%, 82.7%, 42.3%, 38.8%)
CIE-LABlab(35.19, 55.15, -3.43)
CIE-LCHlch(35.19, 55.26, 356.44°)
OKLaboklab(46.37% 0.1698 -0.0083)
OKLCHoklch(46.37% 0.17 357.2)
XYZxyz(15.9489, 8.5921, 10.4895)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B5A #1B9C5D
analogous
#9C1B9A #9C1B5A #9C1D1B
triadic
#9C1B5A #5A9C1B #1B5A9C
tetradic
#9C1B5A #9A9C1B #1B9C5D #1D1B9C
square
#9C1B5A #9A9C1B #1B9C5D #1D1B9C
split-complementary
#9C1B5A #1B9C1D #1B9A9C
monochromatic
#34091E #68123C #9C1B5A #D02478 #E15197

Accessibility & contrast

On white

7.73
#9C1B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9C1B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1B5A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B5A#FFFFFF#000000##FFFFFF
##9C1B5A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435B
Deuteranopia (green-blind)
#5D5B57
Tritanopia (blue-blind)
#A90038
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1b5a;
/* rgb */ color: rgb(156, 27, 90);
/* oklch */ color: oklch(46.4% 0.170 357.2);
Tailwind
colors: {
  custom: {
    50: '#be6788',
    500: '#9c1b5a',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b5a;
$custom-light: #be6788;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b5a",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 330.698,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.16998,
    "h": 357.2
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#9C1B5A
secondary
#4FC38B
accent
#ED963B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C1B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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