#9C1C7E#9C1C7E

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

Color values

HEX#9C1C7E
RGBrgb(156, 28, 126)
HSLhsl(314, 70%, 36%)
HSVhsv(314, 82%, 61%)
CMYKcmyk(0%, 82.1%, 19.2%, 38.8%)
CIE-LABlab(36.76, 59.16, -23.87)
CIE-LCHlch(36.76, 63.80, 338.03°)
OKLaboklab(47.99% 0.1768 -0.0646)
OKLCHoklch(47.99% 0.188 339.9)
XYZxyz(17.8920, 9.4066, 20.6080)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1C7E #1C9C3A
analogous
#7A1C9C #9C1C7E #9C1C3E
triadic
#9C1C7E #7E9C1C #1C7E9C
tetradic
#9C1C7E #9C7A1C #1C9C3A #1C3E9C
square
#9C1C7E #9C7A1C #1C9C3A #1C3E9C
split-complementary
#9C1C7E #3E9C1C #1C9C7A
monochromatic
#34092A #681354 #9C1C7E #D025A8 #E052BF

Accessibility & contrast

On white

7.29
#9C1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1C7E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1C7E#FFFFFF#000000##FFFFFF
##9C1C7E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A6214C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1c7e;
/* rgb */ color: rgb(156, 28, 126);
/* oklch */ color: oklch(48.0% 0.188 339.9);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9c1c7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c1c7e;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1c7e",
  "rgb": {
    "r": 156,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 314.063,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.18824,
    "h": 339.9
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#9C1C7E
secondary
#51C36C
accent
#EC653B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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