#9C1F73#9C1F73

#9C1F73 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.179 H 345.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9C1F73
RGBrgb(156, 31, 115)
HSLhsl(320, 67%, 37%)
HSVhsv(320, 80%, 61%)
CMYKcmyk(0%, 80.1%, 26.3%, 38.8%)
CIE-LABlab(36.53, 56.90, -17.33)
CIE-LCHlch(36.53, 59.48, 343.06°)
OKLaboklab(47.66% 0.1727 -0.0461)
OKLCHoklch(47.66% 0.179 345)
XYZxyz(17.2956, 9.2876, 17.0982)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F73 #1F9C48
analogous
#871F9C #9C1F73 #9C1F35
triadic
#9C1F73 #739C1F #1F739C
tetradic
#9C1F73 #9C871F #1F9C48 #1F359C
square
#9C1F73 #9C871F #1F9C48 #1F359C
split-complementary
#9C1F73 #359C1F #1F9C87
monochromatic
#360B28 #69154D #9C1F73 #CF2999 #DE58B2

Accessibility & contrast

On white

7.35
#9C1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9C1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F73
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F73#FFFFFF#000000##FFFFFF
##9C1F731.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304975
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#A71D47
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f73;
/* rgb */ color: rgb(156, 31, 115);
/* oklch */ color: oklch(47.7% 0.179 345.0);
Tailwind
colors: {
  custom: {
    50: '#bd6a9b',
    500: '#9c1f73',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f73;
$custom-light: #bd6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f73",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 319.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.17873,
    "h": 345
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#9C1F73
secondary
#55C179
accent
#EA763E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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