#9C1B7E#9C1B7E

#9C1B7E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 339.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9C1B7E
RGBrgb(156, 27, 126)
HSLhsl(314, 70%, 36%)
HSVhsv(314, 83%, 61%)
CMYKcmyk(0%, 82.7%, 19.2%, 38.8%)
CIE-LABlab(36.67, 59.41, -24.01)
CIE-LCHlch(36.67, 64.08, 338.00°)
OKLaboklab(47.92% 0.1776 -0.0649)
OKLCHoklch(47.92% 0.189 339.9)
XYZxyz(17.8687, 9.3600, 20.6002)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B7E #1B9C39
analogous
#791B9C #9C1B7E #9C1B3E
triadic
#9C1B7E #7E9C1B #1B7E9C
tetradic
#9C1B7E #9C791B #1B9C39 #1B3E9C
square
#9C1B7E #9C791B #1B9C39 #1B3E9C
split-complementary
#9C1B7E #3E9C1B #1B9C79
monochromatic
#34092A #681254 #9C1B7E #D024A8 #E151BF

Accessibility & contrast

On white

7.31
#9C1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C1B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1B7E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B7E#FFFFFF#000000##FFFFFF
##9C1B7E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A6214C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1b7e;
/* rgb */ color: rgb(156, 27, 126);
/* oklch */ color: oklch(47.9% 0.189 339.9);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9c1b7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b7e;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b7e",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 313.953,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.18909,
    "h": 339.9
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#9C1B7E
secondary
#4FC36A
accent
#ED643B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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