#9C1C7B#9C1C7B

#9C1C7B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.186 H 341.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9C1C7B
RGBrgb(156, 28, 123)
HSLhsl(315, 70%, 36%)
HSVhsv(315, 82%, 61%)
CMYKcmyk(0%, 82.1%, 21.2%, 38.8%)
CIE-LABlab(36.61, 58.76, -22.22)
CIE-LCHlch(36.61, 62.82, 339.28°)
OKLaboklab(47.84% 0.1764 -0.0599)
OKLCHoklch(47.84% 0.186 341.3)
XYZxyz(17.7013, 9.3304, 19.6038)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1C7B #1C9C3D
analogous
#7D1C9C #9C1C7B #9C1C3B
triadic
#9C1C7B #7B9C1C #1C7B9C
tetradic
#9C1C7B #9C7D1C #1C9C3D #1C3B9C
square
#9C1C7B #9C7D1C #1C9C3D #1C3B9C
split-complementary
#9C1C7B #3B9C1C #1C9C7D
monochromatic
#340929 #681352 #9C1C7B #D025A4 #E052BC

Accessibility & contrast

On white

7.33
#9C1C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1C7B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1C7B#FFFFFF#000000##FFFFFF
##9C1C7B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A61F4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1c7b;
/* rgb */ color: rgb(156, 28, 123);
/* oklch */ color: oklch(47.8% 0.186 341.3);
Tailwind
colors: {
  custom: {
    50: '#bd69a1',
    500: '#9c1c7b',
    950: '#000000',
  },
}
SCSS
$custom: #9c1c7b;
$custom-light: #bd69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1c7b",
  "rgb": {
    "r": 156,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 315.469,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.18633,
    "h": 341.3
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#9C1C7B
secondary
#51C36E
accent
#EC693B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9C1C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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