#9C1B7F#9C1B7F

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

Color values

HEX#9C1B7F
RGBrgb(156, 27, 127)
HSLhsl(313, 70%, 36%)
HSVhsv(313, 83%, 61%)
CMYKcmyk(0%, 82.7%, 18.6%, 38.8%)
CIE-LABlab(36.72, 59.55, -24.56)
CIE-LCHlch(36.72, 64.41, 337.59°)
OKLaboklab(47.98% 0.1777 -0.0665)
OKLCHoklch(47.98% 0.19 339.5)
XYZxyz(17.9335, 9.3859, 20.9418)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B7F #1B9C38
analogous
#781B9C #9C1B7F #9C1B3F
triadic
#9C1B7F #7F9C1B #1B7F9C
tetradic
#9C1B7F #9C781B #1B9C38 #1B3F9C
square
#9C1B7F #9C781B #1B9C38 #1B3F9C
split-complementary
#9C1B7F #3F9C1B #1B9C78
monochromatic
#34092A #681255 #9C1B7F #D024A9 #E151C0

Accessibility & contrast

On white

7.30
#9C1B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1B7F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B7F#FFFFFF#000000##FFFFFF
##9C1B7F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A5214D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1b7f;
/* rgb */ color: rgb(156, 27, 127);
/* oklch */ color: oklch(48.0% 0.190 339.5);
Tailwind
colors: {
  custom: {
    50: '#bd69a4',
    500: '#9c1b7f',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b7f;
$custom-light: #bd69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b7f",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 313.488,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.18973,
    "h": 339.5
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#9C1B7F
secondary
#4FC369
accent
#ED633B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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